
elasticsearch
oowgsoo
这个作者很懒,什么都没留下…
展开
-
Query DSL - Wildcard Query
Wildcard Query通配符查询Returns documents that contain terms matching a wildcard pattern.返回与通配符模式匹配的词条的文档。A wildcard operator is a placeholder that matches one or more characters. For example, the * wi...翻译 2020-02-08 10:41:34 · 901 阅读 · 0 评论 -
Query DSL - Terms set Query
Terms set Query词条集查询Returns documents that contain a minimum number of exact terms in a provided field.返回字段中包含最少数目的精确词条的文档。The terms_set query is the same as the terms query, except you can define...翻译 2020-02-08 10:24:16 · 668 阅读 · 0 评论 -
Query DSL - Terms Query
Terms Query词组查询Returns documents that contain one or more exact terms in a provided field.返回字段中包含一个或多个确切词条的文档。The terms query is the same as the term query, except you can search for multiple valu...翻译 2020-02-06 08:40:25 · 1005 阅读 · 0 评论 -
Query DSL - Term Query
Term Query词条查询Returns documents that contain an exact term in a provided field.返回指定字段中包含精确词条的文档。You can use the term query to find documents based on a precise value such as a price, a product ID,...翻译 2020-02-06 08:01:31 · 324 阅读 · 0 评论 -
Query DSL - Regexp Query
Regexp QueryReturns documents that contain terms matching a regular expression.返回包含与正则表达式匹配的词条的文档 。A regular expression is a way to match patterns in data using placeholder characters, called opera...翻译 2020-02-05 07:45:25 · 564 阅读 · 0 评论 -
Query DSL - Range Query
Range Query范围查询Returns documents that contain terms within a provided range.返回包含指定范围内词条的文档。Example requestThe following search returns documents where the age field contains a term between 10 and...翻译 2020-02-05 06:27:06 · 717 阅读 · 0 评论 -
Query DSL - Prefix Query
Prefix Query前缀查询Returns documents that contain a specific prefix in a provided field.返回在指定字段中包含特定前缀的文档。Example requestThe following search returns documents where the user field contains a term t...翻译 2020-02-04 22:57:09 · 256 阅读 · 0 评论 -
Query DSL - IDs
IDsid查询Returns documents based on their IDs. This query uses document IDs stored in the _id field.根据其ID返回文档。该查询使用存储在_id字段中的文档ID 。Example requesteditGET /_search{ "query": { "ids" : {...翻译 2020-02-04 22:32:13 · 266 阅读 · 0 评论 -
Query DSL - Fuzzy Query
Fuzzy Query模糊查询Returns documents that contain terms similar to the search term, as measured by a Levenshtein edit distance.返回包含与搜索词条相似的词条的文档(以Levenshtein编辑距离衡量)。An edit distance is the number of o...翻译 2020-02-04 22:28:36 · 263 阅读 · 0 评论 -
Query DSL- Exists Query
Exists Query存在查询Returns documents that contain an indexed value for a field.返回字段中包含索引值的文档。An indexed value may not exist for a document’s field due to a variety of reasons:由于多种原因,索引值可能不存在于文档的字段中:...翻译 2020-02-04 20:37:24 · 2086 阅读 · 0 评论 -
Query DSL - Disjunction max Query
Disjunction max Query分离最大得分查询Returns documents matching one or more wrapped queries, called query clauses or clauses.返回的文档与一个或多个包装查询匹配,也称为查询子句或子句。If a returned document matches multiple query clau...翻译 2020-02-03 23:18:41 · 393 阅读 · 0 评论 -
Query DSL - Constant score query
Constant score queryWraps a filter query and returns every matching document with a relevance score equal to the boost parameter value.包装过滤查询,返回的每个相关文档的相关性得分等于boost 参数的值。GET /_search{ "query":...翻译 2020-02-03 21:29:40 · 309 阅读 · 0 评论 -
Query DSL - Boosting Query
Boosting QueryReturns documents matching a positive query while reducing the relevance score of documents that also match a negative query.可以为返回的文档匹配一个positive查询和一个negative查询,positive查询对文档的相关性得分没有影响...翻译 2020-02-03 20:49:24 · 372 阅读 · 0 评论 -
Query DSL - Boolean query
BooleanBoolean queryA query that matches documents matching boolean combinations of other queries. The bool query maps to Lucene BooleanQuery. It is built using one or more boolean clauses, each cla...翻译 2020-02-03 08:13:28 · 296 阅读 · 0 评论 -
Query DSL - 查询和过滤上下文
Query and filter context查询和过滤上下文Relevance scores相关性得分By default, Elasticsearch sorts matching search results by relevance score, which measures how well each document matches a query.默认情况下,Elasti...翻译 2020-02-03 07:33:42 · 288 阅读 · 0 评论 -
Query DSL - Match all
Match allThe most simple query, which matches all documents, giving them all a _score of 1.0.最简单的查询,它匹配所有文档,使它们全部_score 为1.0。GET /_search{ "query": { "match_all": {} }}Copy as c...翻译 2020-02-03 07:31:02 · 342 阅读 · 0 评论