dfs_query_then_fetch 3

3. Getting consistent scoring

The fact that Elasticsearch operates with shards and replicas adds challenges when it comes to having good scoring. Elasticsearch가 shard, relpica와 함께 동작한다는 사실은 score 계산에 어려움이 있다는 것을 의미한다. Scores are not reproducible Say the same user runs the same request twice in a row and documents do not come back in the same order both times, this is a pretty bad experience isn’t it? Unfortunately this is so..

1-09-3. Search Options

A few optional query-string parameters can influence the search process.검색 프로세스에 영향을 미칠 수 있는, 몇 개의 선택적 query-string 매개변수가 있다.preferenceeditThe preference parameter allows you to control which shards or nodes are used to handle the search request. It accepts values such as _primary, _primary_first, _local, _only_node:xyz, _prefer_node:xyz, and _shards:2,3, which are explained in detail on the sea..

2-2-8. Relevance Is Broken!

Before we move on to discussing more-complex queries in Multifield Search, let’s make a quick detour to explain why we created our test index with just one primary shard.Multifield Search에서, 더 복잡한 query에 대해 알아보기 전에, 하나의 primary shard만을 가진 test index를 생성한 이유를 설명하겠다.Every now and again a new user opens an issue claiming that sorting by relevance is broken and offering a short reproduction: the use..