Skip to content

Releases: msfroh/OpenSearch

2.17.0-dvonly_bitmap_filter

04 Oct 00:45
78fb481
Compare
Choose a tag to compare

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

08 Aug 22:30
abaa86f
Compare
Choose a tag to compare
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]>