We're updating the issue view to help you get more done. 

Inclusive flags swapped for numeric range queries

Description

A query created like this:

1 builder.range().onField( "foo" ).above( 10 ).excludeLimit().createQuery();

should result in this Lucene query (lower bound exclusive):

1 position:{100 TO *]

But it does result in this query instead:

1 position:[100 TO *}

The reason seems to be that in ConnectedMultiFieldsRangeQueryBuilder#createQuery() the flags are passed in the wrong order to NumericFieldUtils#createNumericRangeQuery().

Environment

None

Status

Assignee

Gunnar Morling

Reporter

Gunnar Morling

Labels

None

Suitable for new contributors

None

Pull Request

None

Feedback Requested

None

Components

Fix versions

Affects versions

4.3.0.Final

Priority

Major