lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENE-4821) AnalyzingSuggester should use end() offset to decide if last token ended or not
Date Sun, 10 Mar 2013 16:53:12 GMT
Michael McCandless created LUCENE-4821:
------------------------------------------

             Summary: 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message