OpenSearch/modules
Adrien Grand 40bb1663ee Index ids in binary form. (#25352)
Indexing ids in binary form should help with indexing speed since we would
have to compare fewer bytes upon sorting, should help with memory usage of
the live version map since keys will be shorter, and might help with disk
usage depending on how efficient the terms dictionary is at compressing
terms.

Since we can only expect base64 ids in the auto-generated case, this PR tries
to use an encoding that makes the binary id equal to the base64-decoded id in
the majority of cases (253 out of 256). It also specializes numeric ids, since
this seems to be common when content that is stored in Elasticsearch comes
from another database that uses eg. auto-increment ids.

Another option could be to require base64 ids all the time. It would make things
simpler but I'm not sure users would welcome this requirement.

This PR should bring some benefits, but I expect it to be mostly useful when
coupled with something like #24615.

Closes #18154
2017-07-07 14:22:47 +02:00
..
aggs-matrix-stats Remove QueryParseContext (#25486) 2017-07-03 17:30:40 +02:00
analysis-common Move more token filters to analysis-common module 2017-07-07 10:02:52 +02:00
ingest-common fix sort and string processor tests around targetField (#25358) 2017-06-22 13:14:18 -07:00
lang-expression Upgrade to lucene-7.0.0-snapshot-ad2cb77. (#25349) 2017-06-22 12:35:33 +02:00
lang-mustache Remove QueryParseContext (#25486) 2017-07-03 17:30:40 +02:00
lang-painless Update Painless to Allow Augmentation from Any Class (#25360) 2017-06-22 12:16:46 -07:00
parent-join Index ids in binary form. (#25352) 2017-07-07 14:22:47 +02:00
percolator Remove QueryParseContext (#25486) 2017-07-03 17:30:40 +02:00
reindex Adds check for negative search request size (#25397) 2017-07-04 10:51:38 +01:00
repository-url Tests: Change rest test extension from .yaml to .yml (#24659) 2017-05-16 17:24:35 -07:00
transport-netty4 Validate `transport.profiles.*` settings (#25508) 2017-07-07 09:40:59 +02:00
build.gradle Build: Change `gradle run` to use zip distribution (#21001) 2016-10-18 11:48:58 -07:00