public interface SolrQueryRequest
Container for a request to execute a query.
SolrQueryRequest
is not thread safe.
Modifier and Type | Method and Description |
---|---|
void |
close()
This method should be called when all uses of this request are
finished, so that resources can be freed.
|
java.lang.Iterable<ContentStream> |
getContentStreams()
A Collection of ContentStreams passed to the request
|
java.util.Map<java.lang.Object,java.lang.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. |
SolrParams |
getOriginalParams()
Returns the original request parameters.
|
java.lang.String |
getParam(java.lang.String name)
Deprecated.
Use
getParams() instead. |
SolrParams |
getParams()
returns the current request parameters
|
java.lang.String[] |
getParams(java.lang.String name)
Deprecated.
Use
getParams() instead. |
java.lang.String |
getParamString()
Returns a string representing all the important parameters.
|
java.lang.String |
getQueryString()
Deprecated.
Use
getParams() and CommonParams.Q instead. |
java.lang.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(SolrParams params)
Change the parameters for this request.
|
SolrParams getParams()
void setParams(SolrParams params)
java.lang.Iterable<ContentStream> getContentStreams()
SolrParams getOriginalParams()
java.util.Map<java.lang.Object,java.lang.Object> getContext()
void close()
@Deprecated java.lang.String getParam(java.lang.String name)
getParams()
instead.@Deprecated java.lang.String[] getParams(java.lang.String name)
getParams()
instead.@Deprecated java.lang.String getQueryString()
getParams()
and CommonParams.Q
instead.@Deprecated java.lang.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()
java.lang.String getParamString()