| org.apache.solr.request.SolrQueryRequest
All known Subclasses: org.apache.solr.request.SolrQueryRequestBase,
SolrQueryRequest | public interface SolrQueryRequest (Code) | | Container for a request to execute a query.
SolrQueryRequest is not thread safe.
author: yonik version: $Id: SolrQueryRequest.java 523774 2007-03-29 17:28:31Z yonik $ |
close | public void close()(Code) | | This method should be called when all uses of this request are
finished, so that resources can be freed.
|
getContext | public Map<Object, Object> getContext()(Code) | | Generic information associated with this request that may be both read and updated.
|
getCore | public SolrCore getCore()(Code) | | The solr core (coordinator, etc) associated with this request
|
getLimit | public int getLimit()(Code) | | number of matching documents to return
|
getOriginalParams | public SolrParams getOriginalParams()(Code) | | Returns the original request parameters. As this
does not normally include configured defaults
it's more suitable for logging.
|
getParam | public String getParam(String name)(Code) | | Returns the input parameter value for the specified name
the value, or the first value if the parameter wasspecified more then once; may be null. |
getParamString | public String getParamString()(Code) | | Returns a string representing all the important parameters.
Suitable for logging.
|
getParams | public SolrParams getParams()(Code) | | returns the current request parameters
|
getParams | public String[] getParams(String name)(Code) | | Returns the input parameter values for the specified name
the values; may be null or empty depending on implementation |
getQueryString | public String getQueryString()(Code) | | Returns the primary query string parameter of the request
|
getQueryType | public String getQueryType()(Code) | | Signifies the syntax and the handler that should be used
to execute this query.
|
getSchema | public IndexSchema getSchema()(Code) | | The index schema associated with this request
|
getStart | public int getStart()(Code) | | starting position in matches to return to client
|
getStartTime | public long getStartTime()(Code) | | The start time of this request in milliseconds
|
setParams | public void setParams(SolrParams params)(Code) | | Change the parameters for this request. This does not affect
the original parameters returned by getOriginalParams()
|
|
|