Free text search not working properly.
-
Will it be possible to exclude the fields of the schema from free-text search?
-
Free text search not bringing all the items based on keywords. Is there any possibility to get an idea about the indexed fields and their values?
- [ ] Checked the logs and have uploaded a log file and provided a link because I found something suspicious there. Please do not post the log file in the topic because very often something important is missing.
I’m submitting a…
- [ ] Regression (a behavior that stopped working in a new release)
- [ X] Bug report
- [ ] Performance issue
- [ ] Documentation issue or request
Current behavior
Expected behavior
Minimal reproduction of the problem
Environment
- [ ] Self hosted with docker
- [ ] Self hosted with IIS
- [ ] Self hosted with other version
- [ X] Cloud version
Version: [VERSION]
Browser:
- [ X] Chrome (desktop)
- [ ] Chrome (Android)
- [ ] Chrome (iOS)
- [ ] Firefox
- [ ] Safari (desktop)
- [ ] Safari (iOS)
- [ ] IE
- [ ] Edge
Others:
The text search is somehow limited. It works in this way:
- All strings from a content item are combined.
- The string is tokenized, e.g. “houseboat” becomes “house” + “boat”
3 .The stop-words are removed from the string.
- When searching for “houses”, it is tokenized again to “house” and the result is returned.
There are several limitations to the system:
- It does not work well with multiple languages due to a very strange restriction in the database that you have to define the language code for the search query.
- it cannot be adapted to the needs of the user.
To make it 100% work for the user requirements you need to give a lot of control to the user.
For example if you have airports like “JFK John F. Kennedy in New York”, you want to tell the search engine that JFK is a term and should not be tokenized and that the weight should be increased. Furthermore you want to use synonyms for some texts.
I cannot provide all these features, if you need more control over the full text search you can use the Algolia integration.