-
Goal: Search a table for a string
-
Steps: I have an TextInput component which supplies the value for the Search term property of a Table.
-
Details: Running on cloud. Search "type" is Fuzzy match but changing that does not fix anything.
Input of a search term normally works fine. However if the target string contains parenthesis; for example:
PHP (programming language)
Then the search term PHP
will not find-and-match. Not until you type <space> (
does the match occur.
input of the following will not match either:
(programming language)
programming language
I have seen this behavior with the Lucene search engine; I don't know if that's relevant in this context or not. I don't know if there is a Lucene parameter to tweak or other quick fix.
I can see one possible workaround. The search feature seems to operate on every column. At least in the configuration of Table there is no special setup. Perhaps it only searches visible columns? I could construct a special column that assembles a "sanitized" search string. I would then need/want to be able to focus the search on that column only (and I would want it to be hidden). It would exist only to help search find matching rows. To do this I would want/need to know the "rules" I need to follow when constructing this special search target column.