Hi,
I have indexed few documents and using multimatch query to find match
based on field 'last_name'. I found that multimatch query search with and
without field boost is showing me same score. Can someone explain this
behavior. Iam using elasticsearch 1.3.2
PUT /megacorp/employee/1
{
"first_name" : "John",
"last_name" : "Smith",
"age" : 25,
"about" : "I love to go rock climbing",
"interests": [ "sports", "music" ]
}
PUT /megacorp/employee/2
{
"first_name" : "Jane",
"last_name" : "Smith",
"age" : 32,
"about" : "I like to collect rock albums",
"interests": [ "music" ]
}
PUT /megacorp/employee/3
{
"first_name" : "Douglas",
"last_name" : "Fir",
"age" : 35,
"about": "I like to build cabinets",
"interests": [ "forestry" ]
}
POST /megacorp/employee/_search
{
"query" : {"multi_match" : {
"query": "Smith",
"fields": [ "last_name^5.0" ]
}}
}
POST /megacorp/employee/_search
{
"query" : {"multi_match" : {
"query": "Smith",
"fields": [ "last_name" ]
}}
}
Thanks,
Sarath
--
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/43341e2d-56a6-4b54-950f-bda459a9dfed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.