OpenSearch/server
Alan Woodward d0da30e5f4 Return NO_INTERVALS rather than null from empty TokenStream (#42750)
IntervalBuilder#analyzeText will currently return null if it is passed an
empty TokenStream, which can lead to a confusing NullPointerException
later on during querying. This commit changes the code to return
NO_INTERVALS instead.

Fixes #42587
2019-05-31 17:45:57 +01:00
..
licenses Remove Log4j 1.2 API as a dependency (#42702) 2019-05-30 16:08:07 -04:00
src Return NO_INTERVALS rather than null from empty TokenStream (#42750) 2019-05-31 17:45:57 +01:00
build.gradle Remove Log4j 1.2 API as a dependency (#42702) 2019-05-30 16:08:07 -04:00