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

ASF subversion and git services commented on LUCENE-8719:
---------------------------------------------------------

Commit 6571d06c25d7c883162f49f0955f8c0616241c52 in lucene-solr's branch 
refs/heads/branch_8x from Alan Woodward
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=6571d06 ]

LUCENE-8719: Traverse all paths at the end of a TokenStream in 
FixedShingleFilter


> FixedShingleFilter can miss paths at the end of a TokenStream
> -------------------------------------------------------------
>
>                 Key: LUCENE-8719
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8719
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>            Priority: Major
>         Attachments: LUCENE-8719.patch
>
>
> If we have a set of paths of differing lengths at the end of a TokenStream, 
> FixedShingleFilter will currently stop when the first path hits the end of 
> the stream, but this may miss extra longer paths.  For example, the stream "a 
> b:3/c d e f" with a shingle size of 3 should produce paths "a b f", "a c d", 
> "c d e" and "d e f", but at the moment FixedShingleFilter will stop when it 
> finds that the path "b f" is too short to produce a shingle.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to