Class Query


  • public class Query
    extends Object

    An ElasticSearch query representation.

    Generates a group of ElasticSearch queries and filters to run from a the previous pasing of a DataSetFilter.

    Parameters for each query type:

    • Query - Boolean

      • must - Contains a List of other Query objects.
      • must_not - Contains a List of other Query objects.
      • should - Contains a List of other Query objects.
    • Query - Match

      • value - The value to match.
    • Query - Match All

    • Query - Filtered

      • query - The query.
      • filter - The filter for this query.
    • Filter - And

      • filters - Contains a List of other filters.
    • Filter - Or

      • filters - Contains a List of other filters.
    • Filter - Not

      • filter - Contains another query instance that represents a filter.
    • Filter - Exist

      Does not contain any parameter. Only check if the value for field exists.

    • Filter - Term

      • value - The value for the term to search.
    • Filter - Range

      • gt - The value for greater than.
      • gte - The value for greater than or equals.
      • lt - The value for lower than.
      • lte - The value for lower than or equals.