Skip to content

QueryParsers do not support negative boosts [LUCENE-4378] #5444

@asfimport

Description

@asfimport

Negative query boosts have been supported at the "Query" object level for a long time (resulting in negative scores for matching documents), but evidently we never updated the QueryParsers to know about this - attempting to specify a negative boost in the query string results in a parse error.

we should probably add this to the parser grammer(s)


Migrated from LUCENE-4378 by Chris M. Hostetter (@hossman), 1 vote, updated Dec 02 2014
Attachments: LUCENE-4378-test.patch
Linked issues:

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