Interface ISearchResults

    • Method Detail

      • getTotalHits

        long getTotalHits()
        Returns the number of hits in the collection.
        Returns:
        the number of hits in the collection.
        Since:
        8.1.0
      • getHits

        java.util.List<ISearchHit> getHits()
        Returns a list of hits.
        Returns:
        a list of hits.
        Since:
        8.1.0
      • getAggregations

        java.util.Map<java.lang.String,​IAggregationResult> getAggregations()
        Returns the aggregation results (unmodifiable) map.
        Returns:
        the aggregation results (unmodifiable) map.
        Since:
        9.0.0