|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SolrQueryRequest
Container for a request to execute a query.
SolrQueryRequest
is not thread safe.
Method Summary | |
---|---|
void |
close()
This method should be called when all uses of this request are finished, so that resources can be freed. |
Iterable<org.apache.solr.common.util.ContentStream> |
getContentStreams()
A Collection of ContentStreams passed to the request |
Map<Object,Object> |
getContext()
Generic information associated with this request that may be both read and updated. |
SolrCore |
getCore()
The solr core (coordinator, etc) associated with this request |
int |
getLimit()
Deprecated. Use getParams() and CommonParams.ROWS instead. |
org.apache.solr.common.params.SolrParams |
getOriginalParams()
Returns the original request parameters. |
String |
getParam(String name)
Deprecated. Use getParams() instead. |
org.apache.solr.common.params.SolrParams |
getParams()
returns the current request parameters |
String[] |
getParams(String name)
Deprecated. Use getParams() instead. |
String |
getParamString()
Returns a string representing all the important parameters. |
String |
getQueryString()
Deprecated. Use getParams() and CommonParams.Q instead. |
String |
getQueryType()
Deprecated. Use getParams() and CommonParams.QT instead. |
IndexSchema |
getSchema()
The index schema associated with this request |
SolrIndexSearcher |
getSearcher()
The index searcher associated with this request |
int |
getStart()
Deprecated. Use getParams() and CommonParams.START instead. |
long |
getStartTime()
The start time of this request in milliseconds |
void |
setParams(org.apache.solr.common.params.SolrParams params)
Change the parameters for this request. |
Method Detail |
---|
org.apache.solr.common.params.SolrParams getParams()
void setParams(org.apache.solr.common.params.SolrParams params)
Iterable<org.apache.solr.common.util.ContentStream> getContentStreams()
org.apache.solr.common.params.SolrParams getOriginalParams()
Map<Object,Object> getContext()
void close()
@Deprecated String getParam(String name)
getParams()
instead.
@Deprecated String[] getParams(String name)
getParams()
instead.
@Deprecated String getQueryString()
getParams()
and CommonParams.Q
instead.
@Deprecated String getQueryType()
getParams()
and CommonParams.QT
instead.
@Deprecated int getStart()
getParams()
and CommonParams.START
instead.
@Deprecated int getLimit()
getParams()
and CommonParams.ROWS
instead.
long getStartTime()
SolrIndexSearcher getSearcher()
SolrCore getCore()
IndexSchema getSchema()
String getParamString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |