740bdc8d99
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. |
||
---|---|---|
.. | ||
src | ||
build.gradle |