Turn on the explain feature to see why example 4 is not getting a higher score.
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-explain.html I suspect it has something to do with the way you are indexing your data. If you still have issues a gist would help us. Dan On Tuesday, April 8, 2014 1:11:46 PM UTC+1, cyrilforce wrote: > > Hi, > > I have a query as below : > > "multi_match" : { > "query" : "*happy*", > "fields" : [ *"DISPLAY_NAME^8*", "*PERFORMER*" ], > "type": "*phrase_prefix*", > "operator" : "AND" > } > > > Result return in the following order: > 1) > "_score": 2.1704028, > "_source": { > "DISPLAY_NAME": "*Happy*man", > > 2) > "_score": 1.4312989, > "_source": { > "DISPLAY_NAME": "Boishakh (Version 1)", > "PERFORMER": "*Happy*", > > 3) > "_score": 1.2510761, > "_source": { > "DISPLAY_NAME": "Franzl Im Happysound", > "PERFORMER": "Franzl & Die Psayrer", > > 4) > "_score": 1.0920545, > "_source": { > "DISPLAY_NAME": "*Happy*", > "PERFORMER": "Diandra Arjunaidi" > > > As the result shown why the #4 have lesser score computed as i already > added a boost in the "DISPLAY_NAME^6" field. Is that the boost not working > for multimatch phrase query ? > > > > -- 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/bfd38ce9-13b0-4d25-912f-28036992a6df%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
