Filter 17

2017.05.23 - 번역 - In which order are my Elasticsearch queries/filters executed? ...

We often get questions about the order in which filters are executed, whether filters get executed before or after queries, etc. Those are indeed important questions: the recipe for quickly executing a query is often related to running the cheap bits before the expensive ones. You might have heard or read in the past that filters are executed before queries. While this statement is a good way to..

Blog 2019.01.07

2016.09.13 - 번역 - Instant Aggregations: The tale of caching and why it matters ...

This is the first post in a three-part series about Instant Aggregations. See how the story progresses in The Great Query Refactoring: Thou Shalt Only Parse Once and wraps up in Instant Aggregations: Rewriting Queries for Fun and Profit. Enjoy the trilogy! 이 게시물은 Instant Aggregation에 대한 시리즈 중 첫번째 게시물입니다. The Great Query Refactoring: Thou Shalt Only Parse Once에서 어떻게 진행되는지 확인하고 Instant Aggregation..

Blog 2019.01.07

2016.05.31 - 번역 - Lost in Translation: Boolean Operations and Filters in the Bool Query ...

With 5.0 on the horizon, a number of query types deprecated in 2.x will be removed. Many of those are replaced by functionality of the bool query, so here’s a quick guide on how to move away from filtered queries; and, or, not queries; and a general look into how to parse boolean logic with the bool query.5.0 이 출시되면서, 2.x 에서 deprecate된 많은 query 유형이 제거된다. 그들 중 많은 부분이 bool query 기능으로 대체된다. 그래서, 여기..

Blog 2019.01.07

2014.08.19 - 번역 - Optimizing Elasticsearch Searches ...

UPDATE: This article refers to our hosted Elasticsearch offering by an older name, Found. Please note that Found is now known as Elastic Cloud.이 게시물은 기존에 Found라는 이름으로 제공된 Elasticsearch 서비스에 관한 것이다. Found은 이제 Elasticsearch Cloud로 알려져 있다.Simple Suggestions for Speedier SearchesElasticsearch can query, filter and aggregate in many ways. Often there are several ways to solve the same problem – and p..

Blog 2019.01.06

v2.0-06. Query DSL changes

Queries and filters mergededitQueries and filters have been merged — all filter clauses are now query clauses. Instead, query clauses can now be used in query context or in filter context:query와 filter는 통합되었다. 모든 filter절은 이제 query절이다. 대신, 이제 query절은 query context 나 filter context 에서 사용된다.Query contextA query used in query context will calculate relevance scores and will not be cacheable. Query c..

1-01-09. More-Complicated Searches

Let’s make the search a little more complicated. We still want to find all employees with a last name of Smith, but we want only employees who are older than 30. Our query will change a little to accommodate a filter, which allows us to execute structured searches efficiently:약간 더 복잡한 검색을 해 보자. last name이 Smith인 모든 직원을 찾으면서, 나이가 30보다 많은 직원을 찾으려 한다. query는 구조화된 검색을 효율적으로 실행할 수 있는 filter 를 넣기 위해, ..

1-07-2. Query DSL

The query DSL is a flexible, expressive search language that Elasticsearch uses to expose most of the power of Lucene through a simple JSON interface. It is what you should be using to write your queries in production. It makes your queries more flexible, more precise, easier to read, and easier to debug.query DSL은 간단한 JSON interface를 이용해, Lucene을 100% 활용하기 위해, Elasticsearch가 사용하는 유연하고, 표현력 있는 검..

1-07-5. Combining queries together

Real world search requests are never simple; they search multiple fields with various input text, and filter based on an array of criteria. To build sophisticated search, you will need a way to combine multiple queries together into a single search request.현실에서 검색 request는 결코 간단하지 않다. 다양한 입력 문자열과 여러 조건의 배열을 기반으로 한 filter를 가지고 다수의 field를 검색한다. 정교한 검색을 위해, 하나의 검색 request에 다수의 query를 함께 조합해야 한다.To ..