-
Notifications
You must be signed in to change notification settings - Fork 25k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Lucene SuggestStopFilter #3863
Conversation
Can we call this |
Was thinking if it might be usable in |
hmm maybe we do it totally different and make it an option on |
Updated to work as an additional option for the existing stopfilter, instead of being an own one. |
LGTM |
The suggest stop filter is an improved version of the stop filter, which takes stopwords only into account if the last char of a query is a whitespace. This allows you to keep stopwords, but to allow suggesting for "a". Example: Index document content "a word". You are now able to suggest for "a" and get back results in the completion suggester, if the suggest stop filter is used on the query side, but will not get back any results for "a " as this is identified as a stopword. The implementation allows to set the `remove_trailing` parameter for a custom stop filter and thus use the suggest stop filter instead of the standard stop filter.
This commit adopts Elasticsearch's typeless API for Logstash central management. Relates: elastic/elasticsearch#3863
This commit adopts Elasticsearch's typeless API for central management. Relates: elastic/elasticsearch#3863
This commit adopts Elasticsearch's typeless API for Logstash central management. Relates: elastic/elasticsearch#3863
This commit adopts Elasticsearch's typeless API for Logstash central management. Relates: elastic/elasticsearch#3863
This commit adopts Elasticsearch's typeless API for Logstash central management. Relates: elastic/elasticsearch#3863
This commit adopts Elasticsearch's typeless API for Logstash central management. Relates: elastic/elasticsearch#3863
This commit adopts Elasticsearch's typeless API for Logstash central management. Relates: elastic/elasticsearch#3863
This commit adopts Elasticsearch's typeless API for central management. Relates: elastic/elasticsearch#3863
This commit adopts Elasticsearch's typeless API for central management. Relates: elastic/elasticsearch#3863 Fixes #10421
This commit adopts Elasticsearch's typeless API for central management. Relates: elastic/elasticsearch#3863 Fixes #10421
This commit adopts Elasticsearch's typeless API for central management. Relates: elastic/elasticsearch#3863 Fixes #10421
The suggest stop filter is an improved version of the stop filter, which
takes stopwords only into account if the last char of a query is a
whitespace. This allows you to keep stopwords, but to allow suggesting for
"a".
Example: Index document content "a word". You are now able to suggest for
"a" and get back results in the completion suggester, if the suggest stop
filter is used on the query side, but will not get back any results for
"a " as this is identified as a stopword.