On Wed, Feb 22, 2012 at 7:35 PM, Naomi Dushay <ndus...@stanford.edu> wrote: > Jonathan has brought it to my attention that BOTH of my failing searches > happen to have 8 terms, and one of the terms is repeated: > > "The Beatles as musicians : Revolver through the Anthology" > "Color-blindness [print/digital]; its dangers and its detection" > > but this is a PHRASE search. >
Can you take your same phrase queries, and simply add some slop to them (e.g. ~3) and ensure they still match with the lucene queryparser? SloppyPhraseQuery has a bit of a history with repeats since Lucene 2.9 that you were using. https://issues.apache.org/jira/browse/LUCENE-3068 https://issues.apache.org/jira/browse/LUCENE-3215 https://issues.apache.org/jira/browse/LUCENE-3412 -- lucidimagination.com