Just in case anyone wants the results of that last query with an explain.
{
"took" : 2,
"timed_out" : false,
"_shards" : {
"total" : 1,
"successful" : 1,
"failed" : 0
},
"hits" : {
"total" : 2,
"max_score" : 0.10509991,
"hits" : [ {
"_shard" : 0,
"_node" : "nPbYBu5UQquwUEVVht03CA",
"_index" : "jtest",
"_type" : "test_type",
"_id" : "2",
"_score" : 0.10509991, "_source" : {
"test_value" : "ktm monster graphics"
},
"_explanation" : {
"value" : 0.10509991,
"description" : "sum of:",
"details" : [ {
"value" : 0.052549955,
"description" : "weight(test_value:monster in 0), product of:",
"details" : [ {
"value" : 0.70710677,
"description" : "queryWeight(test_value:monster), product of:",
"details" : [ {
"value" : 0.5945349,
"description" : "idf(docFreq=2, maxDocs=2)"
}, {
"value" : 1.1893445,
"description" : "queryNorm"
} ]
}, {
"value" : 0.07431686,
"description" : "fieldWeight(test_value:monster in 0), product
of:",
"details" : [ {
"value" : 1.0,
"description" : "tf(termFreq(test_value:monster)=1)"
}, {
"value" : 0.5945349,
"description" : "idf(docFreq=2, maxDocs=2)"
}, {
"value" : 0.125,
"description" : "fieldNorm(field=test_value, doc=0)"
} ]
} ]
}, {
"value" : 0.052549955,
"description" : "weight(test_value:graphics in 0), product of:",
"details" : [ {
"value" : 0.70710677,
"description" : "queryWeight(test_value:graphics), product of:",
"details" : [ {
"value" : 0.5945349,
"description" : "idf(docFreq=2, maxDocs=2)"
}, {
"value" : 1.1893445,
"description" : "queryNorm"
} ]
}, {
"value" : 0.07431686,
"description" : "fieldWeight(test_value:graphics in 0), product
of:",
"details" : [ {
"value" : 1.0,
"description" : "tf(termFreq(test_value:graphics)=1)"
}, {
"value" : 0.5945349,
"description" : "idf(docFreq=2, maxDocs=2)"
}, {
"value" : 0.125,
"description" : "fieldNorm(field=test_value, doc=0)"
} ]
} ]
} ]
}
}, {
"_shard" : 0,
"_node" : "nPbYBu5UQquwUEVVht03CA",
"_index" : "jtest",
"_type" : "test_type",
"_id" : "1",
"_score" : 0.10509991, "_source" : {
"test_value" : "monster graphics"
},
"_explanation" : {
"value" : 0.10509991,
"description" : "sum of:",
"details" : [ {
"value" : 0.052549955,
"description" : "weight(test_value:monster in 1), product of:",
"details" : [ {
"value" : 0.70710677,
"description" : "queryWeight(test_value:monster), product of:",
"details" : [ {
"value" : 0.5945349,
"description" : "idf(docFreq=2, maxDocs=2)"
}, {
"value" : 1.1893445,
"description" : "queryNorm"
} ]
}, {
"value" : 0.07431686,
"description" : "fieldWeight(test_value:monster in 1), product
of:",
"details" : [ {
"value" : 1.0,
"description" : "tf(termFreq(test_value:monster)=1)"
}, {
"value" : 0.5945349,
"description" : "idf(docFreq=2, maxDocs=2)"
}, {
"value" : 0.125,
"description" : "fieldNorm(field=test_value, doc=1)"
} ]
} ]
}, {
"value" : 0.052549955,
"description" : "weight(test_value:graphics in 1), product of:",
"details" : [ {
"value" : 0.70710677,
"description" : "queryWeight(test_value:graphics), product of:",
"details" : [ {
"value" : 0.5945349,
"description" : "idf(docFreq=2, maxDocs=2)"
}, {
"value" : 1.1893445,
"description" : "queryNorm"
} ]
}, {
"value" : 0.07431686,
"description" : "fieldWeight(test_value:graphics in 1), product
of:",
"details" : [ {
"value" : 1.0,
"description" : "tf(termFreq(test_value:graphics)=1)"
}, {
"value" : 0.5945349,
"description" : "idf(docFreq=2, maxDocs=2)"
}, {
"value" : 0.125,
"description" : "fieldNorm(field=test_value, doc=1)"
} ]
} ]
} ]
}
} ]
}
}