query
The blocks in the query group of query. If you run an older core, some of them may not be available to you yet.
- function score
queryv14.0.4Wraps a query with function_score for custom relevance scoring. Builds script_score, random_score and decay functions from pins. The script_score scores documents by matching theirtagsfield against the provided params — documents without a tags field return a neutral score of 1. - simple query string
queryv10.4.28Ignores any invalid parts of the query string. Should always be used when working with user input. - query string
queryv10.4.28Can be used to create a complex search that includes wildcards or searches across multiple fields. If user input is used the simple query string should be used instead of the normal query string. - must not
queryv10.4.28All queries providedmust notmatch. - aggregation
queryv13.0.4Build an aggregation on the given query. - multiple
queryv10.4.28 - must
queryv10.4.28All queries providedmustmatch. - array should / or
queryv10.4.28One or all queries from array providedshouldmatch array based. - should / or
queryv10.4.28One or all queries providedshouldmatch. - switch
queryv12.0.4Returns a query based of the given expression. - filter
queryv10.4.28Build a custom query using higher-level bool query.
query Every block in this main group.