OpenSearch/core
Christoph Büscher 740bdc8d99 Treat zero token in `common` terms query as MatchNoDocsQuery
Currently we return `null` when the query in a common terms query has
zero tokens after analysis. It would be better if query builders
`toQuery()` would never return null and return a meaningful lucene
query instead. Since an ExtendedCommonTermsQuery with no terms gets
rewritten to a MatchNoDocsQuery later, it is enough to leave out the
check for zero tokens.
2016-05-31 16:28:03 +02:00
..
src Treat zero token in `common` terms query as MatchNoDocsQuery 2016-05-31 16:28:03 +02:00
build.gradle Upgrade joda-time to 2.9.4 2016-05-27 08:51:19 -04:00