2015-06-24 17:27:19 -04:00
|
|
|
[[java-specialized-queries]]
|
|
|
|
|
|
|
|
=== Specialized queries
|
|
|
|
|
|
|
|
This group contains queries which do not fit into the other groups:
|
|
|
|
|
|
|
|
<<java-query-dsl-mlt-query,`more_like_this` query>>::
|
|
|
|
|
|
|
|
This query finds documents which are similar to the specified text, document,
|
|
|
|
or collection of documents.
|
|
|
|
|
|
|
|
<<java-query-dsl-template-query,`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.
|
|
|
|
|
|
|
|
<<java-query-dsl-script-query,`script` query>>::
|
|
|
|
|
|
|
|
This query allows a script to act as a filter. Also see the
|
|
|
|
<<java-query-dsl-function-score-query,`function_score` query>>.
|
|
|
|
|
2016-05-20 17:53:51 -04:00
|
|
|
<<java-query-percolate-query,`percolate` query>>::
|
|
|
|
|
|
|
|
This query finds percolator queries based on documents.
|
2015-06-24 17:27:19 -04:00
|
|
|
|
|
|
|
include::mlt-query.asciidoc[]
|
|
|
|
|
|
|
|
include::template-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
|
|
|
|