es-scoring
Experiment with custom scoring in Elasticsearch.
Source: https://www.elastic.co/guide/en/elasticsearch/reference/5.1/query-dsl-function-score-query.html
Requirements
- docker-compose
How to run
* make help
for details
- Setup
make env ## deploy local environment and wait for readiness
make index ## create Elasticsearch index
make payload ## create test dataset
- Verify
make test-noscore ## execute query without scoring
make test-regular ## execute query with built-in scoring
make test-script ## execute query with custom scipt scoring
make test-field ## execute query with custom field value factor scoring function
- Destroy
make index-delete ## delete Elasticsearch index
make env-delete ## destroy local environment