any suggestions? please.
On Oct 14, 8:59 am, BlueZero bluez...@bluezero.sk wrote:
Didnt help at all
curl -XGET http://$HOST:$PORT/pokec/pouzivatelia/_search -d '{
"from" : 0,
"size": 10,
"query" : {
"query_string" : { "default_field":"Nick",
"query":"blue", "rewrite":"scoring_boolean" }
}}'
score:1.1630663
Nick:bluehillscore:1.1630663
Nick:Bobluescore:1.1630663
Nick:blue723score:1.1630663
Nick:blue_eyedSo every document has the samescore. But shouldnt have.
On Oct 13, 4:13 pm, Gustavo Maia gustavobbm...@gmail.com wrote:
Check it.
WildcardQuery - dont use boost · Issue #1184 · elastic/elasticsearch · GitHub
You need to set rewrite to scoring_boolean
2011/10/13 BlueZero bluez...@bluezero.sk:
I need to search nicknames with wildcard and sort them by
relevance(score).
But, when i do a query with wildcard, then thescoreis always 1.0curl -XGET http://$HOST:$PORT/pokec/pouzivatelia/_search -d '{
"from" : 0,
"size": 10,
"query" : {
"query_string" : { "default_field":"Nick",
"query":"blue" }
}
}
'result:
"_score":1.0curl -XGET http://$HOST:$PORT/pokec/pouzivatelia/_search -d '{
"from" : 0,
"size": 10,
"query" : {
"query_string" : { "default_field":"Nick",
"query":"blue" }
}
}
'result:
"_score":13.376108Is there a way to getscorealso with wildcard?
--
Gustavo Maia