I'm wondering is it possible to query ordered string in Elasticsearch? For
example, the query could be as follows
{
"explain": true,
"query": {
"fuzzy_like_this": {
"fields": [
"domainElemString"
],
"like_text": "engagement definition research resolution"
}
}
}
and there are two docs with a value string of field "domainElemString", one
value string is all the same with this like text and the words in the other
one stated in different order, for instance, "definition engagement
research resolution". I used flt query because it is based on edit
distance, so I thought the doc with same field value should has the higher
score than the other one. But the explanation in hits seems not so, the
scores of these two docs are almost same except idf.
Am I missing something about FLT query? Is there any way to do such things?
Thanks!
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.