You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alan Woodward (JIRA)" <ji...@apache.org> on 2018/06/17 20:12:00 UTC
[jira] [Updated] (LUCENE-8360) NGramTokenFilter doesn't set
posIncAttribute correctly in end()
[ https://issues.apache.org/jira/browse/LUCENE-8360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Woodward updated LUCENE-8360:
----------------------------------
Attachment: LUCENE-8360.patch
> NGramTokenFilter doesn't set posIncAttribute correctly in end()
> ---------------------------------------------------------------
>
> Key: LUCENE-8360
> URL: https://issues.apache.org/jira/browse/LUCENE-8360
> Project: Lucene - Core
> Issue Type: New Feature
> Reporter: Alan Woodward
> Assignee: Alan Woodward
> Priority: Major
> Attachments: LUCENE-8360.patch
>
>
> Found by randomly adding ConditionalTokenFilter to random chains, which calls end() on its delegate when it reaches a token that shouldn't have the delegate applied to it, so that things like position increments and position length are preserved.
> This is also the case for EdgeNGramTokenFilter
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org