🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
# Specialized queries(专业查询) ## [`more_like_this` query](https://www.elastic.co/guide/en/elasticsearch/reference/5.4/query-dsl-mlt-query.html "More Like This Query")(相似度查询) 这个查询能检索到与指定文本、文档或者文档集合相似的文档。 ## [`template` query](https://www.elastic.co/guide/en/elasticsearch/reference/5.4/query-dsl-template-query.html "Template Query")(模板查询) The `template` query accepts a Mustache template (either inline, indexed, or from a file), and a map of parameters, and combines the two to generate the final query to execute. 模板查询接受一个Mustache模板(内联,索引或从一个文件)和一个参数映射,并组合两个生成要执行的最终查询。 ## [`script` query](https://www.elastic.co/guide/en/elasticsearch/reference/5.4/query-dsl-script-query.html "Script Query") This query allows a script to act as a filter. Also see the [`function_score` query](https://www.elastic.co/guide/en/elasticsearch/reference/5.4/query-dsl-function-score-query.html "Function Score Query"). ## [`percolate` query](https://www.elastic.co/guide/en/elasticsearch/reference/5.4/query-dsl-percolate-query.html "Percolate Query") This query finds queries that are stored as documents that match with the specified document.