I'd start with a simple multi_match query:
{
"query": {
"multi_match": {
"query": "love",
"fields": [ "DISPLAY_NAME^2", "LONG_DESCRIPTION", "SHORT_DESCRIPTION"
]
}
}
}
Yes relevancy is based on the score.
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/ae927bdc-1590-471f-b8b9-d950721c3ad2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.