DMXzone App Connect Data Traversal Support Product Page
  Answered 
 Filtering text in Data View
 Asked  09 Nov 2018  07:38:23 
  1 
     has   this question  
  09 Nov 2018  07:38:23 David Woolley posted: 
 I've set up a filter in Data View for searching in a text field.FuzzySearch produces too many irrelevant results as it looks for a sequence of characters.
It would be great if one could tune it somehow ...!
So I setup a filter:
filter="title.lowercase().contains(srchtitle.value.lowercase())
where title is the column and srchtitle is the text field.
The titles are all in CAPS so I formatted with lowercase()
All works fine, but we need users to be able to search on more than one word.
I've used % as a separator in the past, but this does not work with client side filtering.
Any suggestions?
Replies
 Replied 09 Nov 2018  13:56:10 
   09 Nov 2018  13:56:10 Teodor Kuduschiev replied: 
  Hello David,
You cannot do such type of search (multi word) in Data View with contains filter.
As for fuzzy search - that's its idea, to look for approximate to the entered string results.
  You cannot do such type of search (multi word) in Data View with contains filter.
As for fuzzy search - that's its idea, to look for approximate to the entered string results.
