[Elasticsearch] this-week-in-elasticsearch-and-apache-lucene-2016-03-14 요약

Elastic/Elasticsearch 2016. 3. 18. 10:28

거의 매주 올려 주는 elasticsearch & lucene 소식 입니다.

그냥 학습 한다 생각하고 요점 정리만 해볼 생각 입니다.


원문링크)


원문요약) 

올라온 것 중 개인적으로 keep 할 것만 추렸습니다.


Changes in master:

  • `string` fields will be replaced by `text` and `keyword` fields in 5.0, with the following bwc layer:
    • String mappings in old indices will not be upgraded.
    • Text/Keyword mappings can be added to old and new indices.
    • String mappings on new indices will be upgraded automatically to text/keyword mappings, if possible, with deprecation logging.
    • If it is not possible to automatically upgrade, an exception will be thrown.
  • Norms can no longer be lazy loaded. This is no longer needed as they are no longer loaded into memory. The `norms` setting now take a boolean. Index time boosts are no longer stored as norms.
  • Queries deprecated in 2.0 have now been removed.
  • The generic thread pool is now bound to 4x the number of processors.

Ongoing changes:


master에 반영된 내용 중 눈에 확 들어 오는건 string field내요. 이제 text와 keyword로 맵핑을 해야 할 것 같습니다.

이미 반영된건 자동으로 업그레이드 되지 않지만 신규로 생성하는건 자동으로 되내요.

그리고 deprecated 된 query들 이제 remove 되었내요. 혹시라도 계속 사용하셨다면 에러 조심 하세요.


변경중인것 중에는 field명에 dot 지원이랑 percolator query가 눈에 들어 오내요. API 방식에서 Query 방식으로 변경되면 더 편하고 유용하게 사용할 수 있겠습니다.




: