OpenSearch/core
Jim Ferenczi d73e17c103 SpanNearQueryBuilder should return the inner clause when a single clause is provided (#25856)
This change handles the case where a SpanNearQueryBuilder tries to create a query with a single clause.
This is not allowed in the SpanNearQuery so instead of throwing an exception when the weight is built, this change builds and returns
the singleton inner clause on toQuery.

Fixes #25630
2017-07-24 13:24:29 +02:00
..
licenses Upgrade to lucene-7.0.0-snapshot-00142c9. (#25641) 2017-07-11 13:58:55 +02:00
src SpanNearQueryBuilder should return the inner clause when a single clause is provided (#25856) 2017-07-24 13:24:29 +02:00
build.gradle Mark Log4j API dependency as non-optional 2017-06-08 16:09:34 -04:00