Skip to content

Instantly share code, notes, and snippets.

@dezsenyi
dezsenyi / ES_HasParent_ScoringProblem_TEST
Created February 17, 2015 08:59
ElasticSearch has_parent scoring problem
echo "Delete old data"
curl -XDELETE "http://localhost:9200/testindex"
echo "Create test index"
curl -XPUT "http://localhost:9200/testindex/" -d'
{
"index": {
"number_of_replicas": "0",
"number_of_shards": "1"
}