lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Commit Tag Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-4821) AnalyzingSuggester should use end() offset to decide if last token ended or not
Date Mon, 11 Mar 2013 21:37:12 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-4821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13599347#comment-13599347
] 

Commit Tag Bot commented on LUCENE-4821:
----------------------------------------

[branch_4x commit] Michael McCandless
http://svn.apache.org/viewvc?view=revision&revision=1455339

LUCENE-4821: AnalyzingSuggester uses end offset to determine whether the final token was finished
or not

                
> 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