Class SearchHitsUtil

java.lang.Object
org.springframework.data.elasticsearch.core.SearchHitsUtil

public final class SearchHitsUtil extends Object
Utility class to prevent leaking of Lucene API into Spring Data Elasticsearch.
Since:
4.4
Author:
Peter-Josef Meisch
  • Method Details

    • getTotalCount

      public static long getTotalCount(org.elasticsearch.search.SearchHits searchHits)