|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.solr.client.solrj.SolrResponse org.apache.solr.client.solrj.response.SolrResponseBase org.apache.solr.client.solrj.response.QueryResponse
public class QueryResponse
Constructor Summary | |
---|---|
QueryResponse()
|
|
QueryResponse(NamedList<Object> res,
SolrServer solrServer)
Utility constructor to set the solrServer and namedList |
Method Summary | ||
---|---|---|
|
getBeans(Class<T> type)
|
|
Map<String,Object> |
getDebugMap()
|
|
Map<String,String> |
getExplainMap()
|
|
FacetField |
getFacetDate(String name)
|
|
List<FacetField> |
getFacetDates()
|
|
FacetField |
getFacetField(String name)
get |
|
List<FacetField> |
getFacetFields()
See also: getLimitingFacets() |
|
NamedList<List<PivotField>> |
getFacetPivot()
|
|
Map<String,Integer> |
getFacetQuery()
|
|
List<RangeFacet> |
getFacetRanges()
|
|
Map<String,FieldStatsInfo> |
getFieldStatsInfo()
|
|
GroupResponse |
getGroupResponse()
Returns the GroupResponse containing the group commands. |
|
NamedList<Object> |
getHeader()
|
|
Map<String,Map<String,List<String>>> |
getHighlighting()
|
|
List<FacetField> |
getLimitingFacets()
|
|
String |
getNextCursorMark()
|
|
SolrDocumentList |
getResults()
|
|
NamedList<ArrayList> |
getSortValues()
|
|
SpellCheckResponse |
getSpellCheckResponse()
|
|
TermsResponse |
getTermsResponse()
|
|
protected List<PivotField> |
readPivots(List<NamedList> list)
|
|
void |
removeFacets()
Remove the field facet info |
|
void |
setResponse(NamedList<Object> res)
|
Methods inherited from class org.apache.solr.client.solrj.response.SolrResponseBase |
---|
getElapsedTime, getQTime, getRequestUrl, getResponse, getResponseHeader, getStatus, setElapsedTime, setRequestUrl, toString |
Methods inherited from class org.apache.solr.client.solrj.SolrResponse |
---|
deserialize, serializable |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public QueryResponse()
public QueryResponse(NamedList<Object> res, SolrServer solrServer)
Method Detail |
---|
public void setResponse(NamedList<Object> res)
setResponse
in class SolrResponseBase
protected List<PivotField> readPivots(List<NamedList> list)
public void removeFacets()
public NamedList<Object> getHeader()
public SolrDocumentList getResults()
public NamedList<ArrayList> getSortValues()
public Map<String,Object> getDebugMap()
public Map<String,String> getExplainMap()
public Map<String,Integer> getFacetQuery()
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 Map<String,Map<String,List<String>>> getHighlighting()
public 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 the
public FacetField getFacetDate(String name)
public List<FacetField> getLimitingFacets()
SolrDocumentList.getNumFound()
If you want all results exactly as returned by solr, use:
getFacetFields()
public <T> List<T> getBeans(Class<T> type)
public Map<String,FieldStatsInfo> getFieldStatsInfo()
public String getNextCursorMark()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |