Boost Searching


(Jim Bartek) #1

why is my query returning the same score even though the call document has
description boosted higher? is it because other documents contain the same
field name with a lower boost value? https://gist.github.com/3895691

--


(Radu Gheorghe) #2

Hi Jim,

I think you need to add a boost value to your query. Something like this:

"query": {
"query_string": {
"query": "5678",
"boost": "2.0",
"analyze_wildcard": true,
....

Best regards,
Radu

http://sematext.com/ -- ElasticSearch -- Solr -- Lucene

On Tue, Oct 16, 2012 at 12:45 AM, Jim Bartek jim@jimbartek.com wrote:

why is my query returning the same score even though the call document has
description boosted higher? is it because other documents contain the same
field name with a lower boost value? https://gist.github.com/3895691

--


(system) #3