D
D
Dmitry2015-12-25 14:18:10
elasticsearch
Dmitry, 2015-12-25 14:18:10

Why does elasticsearch calculate _score weirdly?

I am running a query:

curl -X GET 'localhost:9200/app/hotels/_search?q=kata+mirina' | python -m json.tool

Why does the hotel with the name " KATA POOLSIDE" (1.4044517999999999) have a larger value _scorethan "SUGAR MARINA RESORT NAUTICAL KATA BEACH " (0.83796983999999997), although there are two words in the second name, and only one in the first.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Ah Aa, 2016-01-27
@plukanin

There you can pass ?explain in the parameters, it should describe where such a speed came from.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question