Skip to content

SloppyPhraseScorer sometimes misses documents that ExactPhraseScorer finds. [LUCENE-3821] #4894

@asfimport

Description

@asfimport

The general bug is a case where a phrase with no slop is found,
but if you add slop its not.

I committed a test today (TestSloppyPhraseQuery2) that actually triggers this case,
jenkins just hasn't had enough time to chew on it.

ant test -Dtestcase=TestSloppyPhraseQuery2 -Dtests.iter=100 is enough to make it fail on trunk or 3.x


Migrated from LUCENE-3821 by Naomi Dushay, updated Mar 13 2012
Attachments: LUCENE-3821_test.patch, LUCENE-3821.patch (versions: 4), LUCENE-3821-SloppyDecays.patch, schema.xml, solrconfig-test.xml

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions