Skip to content
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 #3913

Closed
spinscale opened this Issue Oct 15, 2013 · 1 comment

Comments

Projects
None yet
1 participant
@spinscale
Copy link
Member

commented Oct 15, 2013

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.

@ghost ghost assigned spinscale Oct 15, 2013

@spinscale

This comment has been minimized.

Copy link
Member Author

commented Oct 15, 2013

Closed by 4d19239 and 723cbaf

@spinscale spinscale closed this Oct 15, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.