special-queries.asciidoc 942 B

12345678910111213141516171819202122232425262728293031323334
  1. [[java-specialized-queries]]
  2. === Specialized queries
  3. This group contains queries which do not fit into the other groups:
  4. <<java-query-dsl-mlt-query,`more_like_this` query>>::
  5. This query finds documents which are similar to the specified text, document,
  6. or collection of documents.
  7. <<java-query-dsl-template-query,`template` query>>::
  8. The `template` query accepts a Mustache template (either inline, indexed, or
  9. from a file), and a map of parameters, and combines the two to generate the
  10. final query to execute.
  11. <<java-query-dsl-script-query,`script` query>>::
  12. This query allows a script to act as a filter. Also see the
  13. <<java-query-dsl-function-score-query,`function_score` query>>.
  14. <<java-query-percolate-query,`percolate` query>>::
  15. This query finds percolator queries based on documents.
  16. include::mlt-query.asciidoc[]
  17. include::template-query.asciidoc[]
  18. include::script-query.asciidoc[]
  19. include::percolate-query.asciidoc[]