ElasticSearch学习总结
// 查询结果的排序,.missing("_last")
https://doc.yonyoucloud.com/doc/mastering-elasticsearch/chapter-2/25_README.html
//ES多字段匹配查询时的权重控制,multiMatchQuery、QueryBuilders.functionScoreQuery
https://blog.csdn.net/w1014074794/article/details/119751775
//must\should\must_not \Filter, and\or\not
Elasticsearch Boolean Queries
https://opster.com/guides/elasticsearch/search-apis/elasticsearch-bool-queries/
https://dattell.com/data-architecture-blog/how-to-query-elasticsearch-with-boolean-queries/
https://www.tabnine.com/code/java/methods/org.elasticsearch.index.query.BoolQueryBuilder/must
Elasticsearch: How Reads, Writes and Search work in the Cluster
https://medium.com/wix-engineering/elasticsearch-how-reads-writes-and-search-work-in-the-cluster-5e011aaa7de9
How Discord Indexes Billions Of Messages?
https://sukhadanand.medium.com/how-discord-indexes-billions-of-messages-f242e605e47c
ElasticSearch(七)高级排序(多级排序, 多值字段排序)
https://blog.csdn.net/weixin_38399962/article/details/108058514
ElasticSearch多字段权重排序
https://cloud.tencent.com/developer/article/1689061
Elasticsearch 字段缺失排序和自定义排序
https://cloud.tencent.com/developer/article/1689061
https://blog.csdn.net/qq_41750911/article/details/124573064
es实现标签搜索的功能
https://elasticsearch.cn/question/5630
用 ElasticSearch 实现基于标签的兴趣推荐
https://my.oschina.net/waterbear/blog/4493422
ElasticSearch (ES从入门到精通一篇就够了) ,
https://www.cnblogs.com/buchizicai/p/17093719.html
说明:假如文档字段类型是一个keyword,match 或 multi_match 就需要完全匹配才能命中,比如字段的值是234,无论是1234还是12345都不会命中,
如果是match_phrase查询,只需要目标包含条件即可命中,比如目标值是 234,查询条件23|34|234可以被命中,1234或12345等不会被命中。
浅谈蘑菇街大数据标签平台
https://www.6aiq.com/article/1612616259776
酒旅项目之 ES 搜索
https://blog.csdn.net/qq_45888459/article/details/124573046
elasticsearch自定义分数、优化聚合、桶聚合、别名搜索
https://blog.csdn.net/qq_32447301/article/details/118468476
Elasticsearch 的多标签筛选问题
https://www.v2ex.com/t/734316
Elasticsearch:对搜索结果排序 - Sort
https://juejin.cn/post/7114548789511192590
Elasticsearch:使用 function_score 及 script_score 定制搜索结果的分数
https://elasticstack.blog.csdn.net/article/details/103643910
Elastic: 常量分数查询constand_score query应用场景
https://developer.aliyun.com/article/1082090
Painless: Collection.contains() not working
https://discuss.elastic.co/t/painless-collection-contains-not-working/178944
Getting Started with Painless
Converting logical expressions into ElasticSearch’s Java API using QueryBuilders class
https://www.atlantbh.com/converting-logical-expressions-into-elasticsearchs-java-api-using-querybuilders-class/?utm_source=rss&utm_medium=rss&utm_campaign=converting-logical-expressions-into-elasticsearchs-java-api-using-querybuilders-class
https://www.tabnine.com/code/java/methods/org.elasticsearch.index.query.QueryBuilders/matchQuery
FunctionScoreQueryBuilder的重载方法加入,BoolQueryBuilder,参与计分
https://blog.csdn.net/qq_36016356/article/details/122360916
painless脚本
https://www.cnblogs.com/janes/p/13914360.html
https://zhuanlan.zhihu.com/p/597387400
https://developer.aliyun.com/article/784091
https://www.compose.com/articles/how-to-script-painless-ly-in-elasticsearch/
https://search-guard.com/elasticsearch-painless-alerting-primer/
https://developer.aliyun.com/article/1123902
3. 如果text类型,用doc[‘fieldname’].value会报错
https://blog.csdn.net/winterking3/article/details/114033906
ES搜索结果调优 _
https://nullpointer.pw/es%E6%90%9C%E7%B4%A2%E7%BB%93%E6%9E%9C%E8%B0%83%E4%BC%98
https://www.knowledgedict.com/tutorial/elasticsearch-query.html#match%20query
查询语句searchQuery里面使用了其它字段作为排序字段,es默认使用score为排序字段,如果使用其它字段作为排序字段,_score则为null