Basics
elastic search์์ ๋ฌด์์ ๊ฒ์ํ ๊ฒฝ์ฐ, ์ ์ฌํ ๊ฒ๋ค์ ๋ํด ๊ฒ์ ๊ฒฐ๊ณผ๋ฅผ ๋ฐํํฉ๋๋ค.
Precision

What portion of the retrieved data is actually relevant to the search query?
Recall

What portion of relevant data is being returned as search results?
Precision and Recall are inversely related. like:
Precision
query์ ์๋ฒฝํ ๋งค์น๋๋ ๊ฒฐ๊ณผ๋ฅผ ๋ฐํ.
๋ฐํ๋๋ document๊ฐ ์ ์ ์ ์์.
Recall
retrieve lot of result
๋ง์ ๊ฒฐ๊ณผ๋ฅผ ๋ฐํ.
query์ ๋ํด ์๋ฒฝํ ๋งค์น๋๋ document๊ฐ ์๋ ์ ์์.
Score
value that represents how relevant a document is to that specific query
score is computed for each document that is a hit.
score use 2 type of data.
term frequency
inverse document frequency
TF (Term Frequency)
for example, let's say search term is "How to form good habits"

IDF (Inverse Document Frequency)
IDF decrease weight which occur very frequently. our case, habit occurred very frequently.

References
References
Last updated