[
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: [email protected]
For additional commands, e-mail: [email protected]