Elastic search should ignore stopwords on ''exact'' searches
- Status
- Open
- Subject
- Elastic search should ignore stopwords on ''exact'' searches
- Version
- 21.x
- Category
- Bug
- Feature
- Search
- Resolution status
- New
- Submitted by
- Jean-Marc Libs
- Lastmod by
- Jean-Marc Libs
- Rating
- Description
If I want to look up all users which are waiting for the admin to validate them, I can do this LIST plugin:
Copy to clipboard{LIST()} {filter field="object_type" exact="user" } {filter field="waiting" exact="a" } {pagination max="9999"} {LIST}
This works fine using unified search with option mysql fulltext search.Using option Elastic search nothing is returned because "a" is in the stopwords list. Removing "a" from the stopwords list fixes the issue.
I can understand why stopwords are stripped from searches such as content="something". That's the idea of stopwords.
But on exact searches stopwords should not be stripped. Because, by the definition of "exact search", one knows exactly what one is searching for.Also, we should not get different results depending on the unified search option.
- Importance
- 10 high
- Easy to solve?
- 5
- Priority
- 50
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 7707
- Created
- Thursday 25 March, 2021 01:24:58 UTC
by Jean-Marc Libs - LastModif
- Thursday 25 March, 2021 01:24:58 UTC