Michael McCandless created LUCENE-5180:
------------------------------------------

             Summary: ShingleFilter should make shingles from trailing holes
                 Key: LUCENE-5180
                 URL: https://issues.apache.org/jira/browse/LUCENE-5180
             Project: Lucene - Core
          Issue Type: Improvement
          Components: modules/analysis
            Reporter: Michael McCandless
             Fix For: 5.0, 4.5


When ShingleFilter hits a hole, it uses _ as the token, e.g. bigrams for "the 
dog barked", if you have a StopFilter removing the, would be: "_ dog", "dog 
barked".

But if the input ends with a stopword, e.g. "wizard of", ShingleFilter fails to 
produce "wizard _" due to LUCENE-3849 ... once we fix that I think we should 
fix ShingleFilter to make shingles for trailing holes too ...

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

Reply via email to