You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Areek Zillur (JIRA)" <ji...@apache.org> on 2015/10/28 00:25:27 UTC
[jira] [Updated] (LUCENE-6858) Fix ContextSuggestField to correctly
wrap token stream
[ https://issues.apache.org/jira/browse/LUCENE-6858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Areek Zillur updated LUCENE-6858:
---------------------------------
Attachment: LUCENE-6858.patch
Initial patch:
- correctly wrap incoming completion token stream in ContextSuggestField
- added tests
- minor: increase topN size for nrt suggester to ensure search admissibility in case of suggestions with multiple contexts.
> Fix ContextSuggestField to correctly wrap token stream
> -------------------------------------------------------
>
> Key: LUCENE-6858
> URL: https://issues.apache.org/jira/browse/LUCENE-6858
> Project: Lucene - Core
> Issue Type: Bug
> Affects Versions: Trunk, 5.4
> Reporter: Areek Zillur
> Assignee: Areek Zillur
> Fix For: Trunk, 5.4
>
> Attachments: LUCENE-6858.patch
>
>
> Currently, when a ContextSuggestField is analyzed with a completion analyzer, it incorrectly uses the completion token stream as an input to it's PrefixTokenFilter instead of using the underlying token stream, before wrapping the token stream as a completion token stream.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org