OpenSearch/elasticsearch
Adrien Grand 71542594e6 ShieldIndexSearcherWrapper should create the scorer only once. elastic/elasticsearch#1725
Currently it first creates a scorer, then checks if the role bits are sparse,
and falls back to the bulk scorer if they are dense. The issue is that creating
scorers and bulk scorers is very expensive on some queries such as ranges,
prefix and terms queries. So it should rather check whether bits are sparse
first in order to decide whether to use the scorer or bulk scorer.

Original commit: elastic/x-pack-elasticsearch@067d630099
2016-03-23 11:38:30 +01:00
..
license Fix forbidden apis usages, and convert more tests to CommandTestCase 2016-03-09 00:18:23 -08:00
qa Make xpack extensible: 2016-03-22 11:41:38 +01:00
x-dev-tools Shield refactoring for 5.0 - phase 3 2016-02-09 16:06:49 +01:00
x-pack ShieldIndexSearcherWrapper should create the scorer only once. elastic/elasticsearch#1725 2016-03-23 11:38:30 +01:00
build.gradle Change path separator for Checkstyle suppressions to be Windows compatible 2016-02-05 12:15:47 +01:00
checkstyle_suppressions.xml Remove suppression and implement hashCode 2016-02-09 21:49:13 -05:00