OpenSearch/modules
Adrien Grand aa6cd93e0f Require arguments for QueryShardContext creation. (#21196)
The `IndexService#newQueryShardContext()` method creates a QueryShardContext on
shard `0`, with a `null` reader and that uses `System.currentTimeMillis()` to
resolve `now`. This may hide bugs, since the shard id is sometimes used for
query parsing (it is used to salt random score generation in `function_score`),
passing a `null` reader disables query rewriting and for some use-cases, it is
simply not ok to rely on the current timestamp (eg. percolation). So this pull
request removes this method and instead requires that all call sites provide
these parameters explicitly.
2016-11-02 09:48:49 +01:00
..
aggs-matrix-stats Remove empty javadoc (#20871) 2016-10-12 10:27:09 +02:00
ingest-common Refactor ScriptType to be a top-level class. 2016-10-26 10:21:22 -07:00
lang-expression Upgrade to lucene-6.3.0-snapshot-ed102d6 (#21150) 2016-10-28 14:47:15 +02:00
lang-groovy Refactor ScriptType to be a top-level class. 2016-10-26 10:21:22 -07:00
lang-mustache Cleanup ScriptType (#21179) 2016-10-31 13:48:51 -07:00
lang-painless Fix painless's out of bounds assertions in java 9 2016-10-29 22:21:57 -04:00
percolator Require arguments for QueryShardContext creation. (#21196) 2016-11-02 09:48:49 +01:00
reindex Bump reindex-from-remote's buffer to 200mb 2016-11-01 13:19:28 -04:00
transport-netty3 Fix logger names for Netty 2016-10-31 17:23:21 -04:00
transport-netty4 Fix logger names for Netty 2016-10-31 17:23:21 -04:00
build.gradle Build: Change `gradle run` to use zip distribution (#21001) 2016-10-18 11:48:58 -07:00