🔎 Open source distributed and RESTful search engine.
Go to file
Dimitris Athanasiou 3e494070bf Strict parse search parts of schedulerConfig (elastic/elasticsearch#600)
* Strict parse search parts of schedulerConfig

This commit adds methods to build the typed objects
for the search parts of a scheduler config. Those are:
query, aggregations and script_fields.

As scheduler configs are stored in the cluster state and parsing
the search parts requires a SearchRequestParsers object, we cannot
store them as typed fields. Instead, they are now stored as
BytesReferences.

This change is in preparation for switching over to using a
client based data extractor.

Point summary of changes:

- query, aggregations and scriptFields are now stored as BytesReference
- adds methods to build the corresponding typed objects
- putting a scheduler now builds the search parts to to validate that
the config is valid

Relates to elastic/elasticsearch#478



Original commit: elastic/x-pack-elasticsearch@e6d5a85871
2016-12-21 10:57:55 +00:00
buildSrc Updates aws credential variables in upload task 2016-12-08 14:58:15 +00:00
elasticsearch Strict parse search parts of schedulerConfig (elastic/elasticsearch#600) 2016-12-21 10:57:55 +00:00
vagrant Tweak Vagrant to use env variables for S3 boxes, update instructions 2016-10-11 11:07:41 -04:00
LICENSE.txt Initial X-Pack commit 2018-04-20 14:16:58 -07:00
build.gradle Moved the C++ code under the cpp sub-directory (elastic/elasticsearch#584) 2016-12-20 11:03:00 +00:00
gradle.properties Upgrade to Elasticsearch 5.2 SNAPSHOT 2016-11-24 22:55:19 +00:00
settings.gradle Creates a cpp gradle module to control the cpp build (elastic/elasticsearch#361) 2016-11-23 11:22:04 +00:00