[
https://issues.apache.org/jira/browse/LUCENE-4821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael McCandless updated LUCENE-4821:
---------------------------------------
Attachment: LUCENE-4821.patch
Patch.
> AnalyzingSuggester should use end() offset to decide if last token ended or
> not
> -------------------------------------------------------------------------------
>
> Key: LUCENE-4821
> URL: https://issues.apache.org/jira/browse/LUCENE-4821
> Project: Lucene - Core
> Issue Type: Improvement
> Components: modules/spellchecker
> Reporter: Michael McCandless
> Assignee: Michael McCandless
> Fix For: 5.0, 4.3
>
> Attachments: LUCENE-4821.patch
>
>
> For example, today if you index "i love lucy" and "isla de muerta", and then
> you ask for suggestions for "i" and for "i " (space after the i) you'll get
> the same results.
> But if we use the ending offset, we can determine (I think?) that there were
> non-token characters after the last token, so that "i " would only suggest "i
> love lucy".
--
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: [email protected]
For additional commands, e-mail: [email protected]