public class QueryResponse extends SolrResponseBase
Constructor and Description |
---|
QueryResponse() |
QueryResponse(NamedList<Object> res,
SolrServer solrServer)
Utility constructor to set the solrServer and namedList
|
getElapsedTime, getQTime, getRequestUrl, getResponse, getResponseHeader, getStatus, setElapsedTime, setRequestUrl, toString
deserialize, serializable
public QueryResponse()
public QueryResponse(NamedList<Object> res, SolrServer solrServer)
public void setResponse(NamedList<Object> res)
setResponse
in class SolrResponseBase
protected List<PivotField> readPivots(List<NamedList> list)
public void removeFacets()
public SolrDocumentList getResults()
public Map<String,SolrDocumentList> getExpandedResults()
public GroupResponse getGroupResponse()
GroupResponse
containing the group commands.
A group command can be the result of one of the following parameters:
GroupResponse
containing the group commandspublic SpellCheckResponse getSpellCheckResponse()
public TermsResponse getTermsResponse()
public List<FacetField> getFacetFields()
getLimitingFacets()
public List<FacetField> getFacetDates()
public List<RangeFacet> getFacetRanges()
public NamedList<List<PivotField>> getFacetPivot()
public FacetField getFacetField(String name)
name
- the name of thepublic FacetField getFacetDate(String name)
public List<FacetField> getLimitingFacets()
SolrDocumentList.getNumFound()
If you want all results exactly as returned by solr, use:
getFacetFields()
public Map<String,FieldStatsInfo> getFieldStatsInfo()
public String getNextCursorMark()
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.