OpenSearch/server
aditya-agrawal a28424ee5d
Avoid NPE in `more_like_this` when field has zero tokens (#30365)
Fixes and edge case when using `more_like_this` where TermVectorsWriter
could throw an NPE when a field produced zero tokens after analysis. This
changes the implementation to use an empty list of tokens in this case.

Closes #30148
2018-05-08 17:47:03 +01:00
..
cli Add useful message when no input from terminal (#29369) 2018-04-10 21:50:39 -04:00
licenses Upgrade to 7.4.0-snapshot-1ed95c097b (#30357) 2018-05-04 11:44:22 +02:00
src Avoid NPE in `more_like_this` when field has zero tokens (#30365) 2018-05-08 17:47:03 +01:00
build.gradle Build: Split distributions into oss and default 2018-04-20 15:33:57 -07:00