yuuvis® RAD Q&A

0 votes
by (1.8k points)

Hi OS,

is it possible, to change the behaviour in the form search? At the moment, the search will find the object, when the exact search term is written in a field. Is it also possible, to find the object when only a part si given in the search form?

Example:
There is a field with the name "description".
There is an object with the value "This is a description" in this field.
There will be a match when exactly searching the value "This is a description" but no match when searching the value "description".

I know I can find this by adding a * but this is not convenient for users who don't know about placeholders.

Regards, Mathias

1 Answer

0 votes
by (19.6k points)

Hello Mathias,

no, this is not configurable. You can either use wildcards (*, ?) in the indexdata fields of the form or use the fulltext field which does a fuzzy search as you desire - just not only on the desired field but over all available fields (+ content file fulltext).

In general, if your searchterm is sufficiently selective, then the fulltext search will return the desired object just as well as the form field (with wildcard(s)) would. If not, then you will have to specify more search criteria anyway to find your desired object and you can combine these specific criteria with the fulltext search.

Best regards
Nicolai

by (19.6k points)
Hello Mathias,

i have to correct myself: it is indeed possible to change the behaviour of the form-fields to do a fulltext search. To do so, please follow these steps:
- navigate to the service-manager data folder
- navigate to the subfolder webresource\resources\client\assets\_default\config (create if neccessary)
- create a file named "extend.json"
- write the following into the file:
{
 "search": {
    "searchmode": "fts"
  }
}

- save the file and restart the clientservice or the entire service-manager
- the form-fields now do a fulltext search instead of an exact search. The users might have to clear their browser-cache.
- This setting is kept even after updates to the service-manager.

Best regards
Nicolai

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
2 answers
asked Jul 13, 2020 by Mathias Keller (1.8k points)
0 votes
1 answer
...