Search term: wall clock
Document 1
{
"title": "wall clock"
}
Document 2
{
"title": "clock wall"
}
Document 3
{
"title": "wall clock in bangalore"
}
query which I have used
{
"_source": [
"title"
],
"size": 10,
"query": {
"bool": {
"should": [
{
"match_phrase": {
"title": {
"query": "wall clock",
"boost": 1
}
}
}
],
"minimum_should_match": "1"
}
}
}
Expected result:
Document 1 & Document 2
Guide me with the same.