???????????????Elasticsearch????????????2????????????2.2.3????????????????????????-??????-????????????-?????????
?????????????????????????????????????????????Elasticsearch????????????2????????????????????????2??? ??????2.2.3??????[???]????????????????????Rafal Ku???????????????????????????????????Marek Rogoziski?????? ???????????????????????????????????? ?????????????????????????????????????????????????????????????????????????????????
2.2.3????????????????????????
???????????????????????????rewrite??????????????????????????????constant_score_boolean???????????????????????????????????????????????????????????????????????????Lucene???????????????????????????????????????rewrite????????????????????????????????????JSON????????????????????????????????????????????????
????????????????????????rewrite????????????????????????????????????
scoring_boolean?????????????????????????????????????????????????????????????????????????????????Boolean should clause???????????????????????????????????????????????????????????????????????????????????????????????????CPU??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????1024??????????????????????????????????????????????????????????????????Elasticsearch.yml?????????index.query.bool.max_clause_count??????????????????????????????????????????????????????????????????????????????????????????????????????
constant_score_boolean?????????????????????????????????scoring_boolean???????????????CPU???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????1????????????????????????????????????????????????????????????????????????scoring_boolean???????????????????????????????????????????????????
constant_score_filter?????????Lucene???Javadocs??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????scoring_boolean ???constant_score_boolean?????????????????????
top_terms_N???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????scoring_boolean????????????????????????????????????????????????N????????????????????????????????????????????????????????????????????????????????????
top_terms_boost_N???????????????top_terms_N???????????????????????????????????????????????????????????????????????????????????????????????????????????????boost????????????????????????1???
??????rewrite???????????????constant_score_auto????????????????????????Elasticsearch????????????????????????????????????????????????????????????constant_score_filter??????constant_score_boolean???
??????????????????????????????????????????????????????????????????????????????top_terms_N???????????????N???????????????2???????????????????????????????????????????????????
???Elasticsearch?????????????????????????????????????????????????????????????????????????????????????????????????????????1.0???
????????????top_terms_N???????????????????????????N????????????
?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????top-N?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
最后更新:2017-06-23 23:02:48