2015-06-03 19:59:22 -04:00
|
|
|
[[specialized-queries]]
|
|
|
|
|
|
|
|
== Specialized queries
|
|
|
|
|
|
|
|
This group contains queries which do not fit into the other groups:
|
|
|
|
|
|
|
|
<<query-dsl-mlt-query,`more_like_this` query>>::
|
|
|
|
|
|
|
|
This query finds documents which are similar to the specified text, document,
|
|
|
|
or collection of documents.
|
|
|
|
|
|
|
|
<<query-dsl-script-query,`script` query>>::
|
|
|
|
|
|
|
|
This query allows a script to act as a filter. Also see the
|
|
|
|
<<query-dsl-function-score-query,`function_score` query>>.
|
|
|
|
|
2016-04-19 09:59:09 -04:00
|
|
|
<<query-dsl-percolate-query,`percolate` query>>::
|
2016-03-15 10:07:53 -04:00
|
|
|
|
|
|
|
This query finds queries that are stored as documents that match with
|
|
|
|
the specified document.
|
2015-06-03 19:59:22 -04:00
|
|
|
|
2018-03-14 06:51:22 -04:00
|
|
|
<<query-dsl-wrapper-query,`wrapper` query>>::
|
|
|
|
|
|
|
|
A query that accepts other queries as json or yaml string.
|
|
|
|
|
2015-06-03 19:59:22 -04:00
|
|
|
include::mlt-query.asciidoc[]
|
|
|
|
|
|
|
|
include::script-query.asciidoc[]
|
|
|
|
|
2016-04-19 09:59:09 -04:00
|
|
|
include::percolate-query.asciidoc[]
|
2016-03-15 10:07:53 -04:00
|
|
|
|
2018-03-14 06:51:22 -04:00
|
|
|
include::wrapper-query.asciidoc[]
|