'token_count'에 해당되는 글 1건

  1. 2016.03.16 [Elasticsearch] _field_names, token_count

[Elasticsearch] _field_names, token_count

Elastic/Elasticsearch 2016. 3. 16. 10:33

Elasticsearch 2.x 대로 들어 오면서 field 구성 중 눈에 보이는 것들이 있어서 살짝 기록하고 갑니다.


기존에 있던 exists, missing 필드의 경우 _field_names 라는 필드로 대체 된 것 같습니다.

아래 내용 참고하세요.


원문링크)


원문 Snippet)

The _field_names field indexes the names of every field in a document that contains any value other thannull. This field is used by the exists and missing queries to find documents that either have or don’t have any non-null value for a particular field.


그리고 추가된 것 중 token_count 라는 필드가 있는데 이건 analyzed field에 대해서 나름 활용이 되지 않을까 싶습니다.

해당 필드에 대해서 multi field를 이용해서 추출된 토큰 수를 기록 할 수 있습니다. 자세한 내용은 아래 참고하세요.


원문링크)


원문 Snippet)

A field of type token_count is really an integer field which accepts string values, analyzes them, then indexes the number of tokens in the string.


: