Releases: msfroh/OpenSearch
Releases · msfroh/OpenSearch
2.17.0-dvonly_bitmap_filter
Force use of doc-value query for bitmap filters
Lucene's PointInSetQuery doesn't seem to be designed to handle a very
large point set. Converting a large roaring bitmap into a
PointInSetQuery is very expensive. Estimating the cost of a
very large PointInSetQuery is even more expensive.
We should implement a dedicated indexed query for bitmap filters
that addresses these issues. In the meantime, we can force bitmap
filters to use the doc-value query, which is probably the right
choice for all but the smallest bitmaps.
keyword_fields
Modify KeywordField behavior 1. Use Lucene's KeywordField instead of custom Field type. 2. Use IndexOrDocValuesQuery for all MultiTermQueries. Signed-off-by: Michael Froh <[email protected]>