Hi,
I'm trying to boost some specific fields on a fuzzy like this query.
With the given document indexed :
POST fuzzy_test/product
{
"name" : "maillot",
"description" : "Arsenal away shirt"
}
I can retrieve the result with the following request, :
GET fuzzy_test/product/_search
{
"query": {
"fuzzy_like_this": {
"fields": ["name", "description"],
"like_text" : "maillo 1ere league"
}
}
}
But, if I try to boost a field using the same syntax used by other queries,
like multi match, it failed to find the document :
GET fuzzy_test/product/_search
{
"query": {
"fuzzy_like_this": {
"fields": ["name^2", "description"],
"like_text" : "maillo 1ere league"
}
}
}
Is there any way to achieve this ?
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/72198968-adbe-47cd-9731-99b7add5cf5e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.