Annotation Interface Query


Query
Author:
Rizwan Idrees, Mohsin Husen, Peter-Josef Meisch, Steven Pearce
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Returns whether the query defined should be executed as count projection.
     
     
  • Element Details

    • value

      @AliasFor("query") String value
      Returns:
      Elasticsearch query to be used when executing query. May contain placeholders eg. ?0. Alias for query.
      Default:
      ""
    • query

      @AliasFor("value") String query
      Returns:
      Elasticsearch query to be used when executing query. May contain placeholders eg. ?0. Alias for value
      Since:
      5.0
      Default:
      ""
    • count

      boolean count
      Returns whether the query defined should be executed as count projection.
      Returns:
      false by default.
      Since:
      4.2
      Default:
      false