Class SearchResult<T>
- java.lang.Object
-
- io.toro.martini.solr.model.search.SearchResult<T>
-
public class SearchResult<T> extends Object
-
-
Constructor Summary
Constructors Constructor Description SearchResult(Class<T> documents, QueryResponse queryResponse, Integer rows)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FacetField
getFacet(String name)
List<FacetField>
getFacetFields()
NamedList<List<PivotField>>
getFacetPivot()
Map<String,Integer>
getFacetQuery()
Integer
getFacetQueryCount(String key)
RangeFacet
getFacetRange(String key)
List<RangeFacet>
getFacetRanges()
int
getPageCount()
QueryResponse
getQueryResponse()
NamedList
getResponseHeader()
List<T>
getResults()
Map<String,FieldStatsInfo>
getStats()
long
getTotalHits()
String
toString()
-
-
-
Constructor Detail
-
SearchResult
public SearchResult(Class<T> documents, QueryResponse queryResponse, Integer rows)
-
-
Method Detail
-
getResponseHeader
public NamedList getResponseHeader()
-
getFacetFields
public List<FacetField> getFacetFields()
-
getFacetRanges
public List<RangeFacet> getFacetRanges()
-
getStats
public Map<String,FieldStatsInfo> getStats()
-
getFacetPivot
public NamedList<List<PivotField>> getFacetPivot()
-
getTotalHits
public long getTotalHits()
-
getQueryResponse
public QueryResponse getQueryResponse()
-
getFacet
public FacetField getFacet(String name)
-
getFacetRange
public RangeFacet getFacetRange(String key)
-
getPageCount
public int getPageCount()
-
-