Class SearchResult

java.lang.Object
org.redisson.api.search.query.SearchResult

public final class SearchResult extends Object
Search result object returned by RSearch.search(String, String, QueryOptions) method
Author:
Nikita Koksharov
  • Constructor Details

    • SearchResult

      public SearchResult(long total, List<Document> documents)
  • Method Details

    • getTotal

      public long getTotal()
      Returns total number of results.
      Returns:
      total number of results
    • getDocuments

      public List<Document> getDocuments()
      Returns list of found Document objects
      Returns:
      list of found Document objects