You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2013/08/10 20:08:47 UTC
[jira] [Created] (LUCENE-5165) Add SuggestStopFilter
Michael McCandless created LUCENE-5165:
------------------------------------------
Summary: Add SuggestStopFilter
Key: LUCENE-5165
URL: https://issues.apache.org/jira/browse/LUCENE-5165
Project: Lucene - Core
Issue Type: Improvement
Reporter: Michael McCandless
Assignee: Michael McCandless
Fix For: 5.0, 4.5
This is like StopFilter, except if the token is the very last token
and there were no non-token characters after it, it keeps the token.
This is useful with analyzing suggesters (AnalyzingSuggester,
AnalyzingInfixSuggester, FuzzySuggester), where you often want to
remove stop words, but not if it's the last word and the user hasn't
finished typing it.
E.g. "fast a" might complete to "fast amoeba", but if you simply use
StopFilter then the a is removed.
Really our analysis APIs aren't quite designed to handle a "partial"
tokens that suggesters need to work with.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org