org.apache.solr.client.solrj.request
Class QueryRequest

java.lang.Object
  extended by org.apache.solr.client.solrj.SolrRequest
      extended by org.apache.solr.client.solrj.request.QueryRequest
All Implemented Interfaces:
Serializable

public class QueryRequest
extends SolrRequest

Since:
solr 1.3
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.solr.client.solrj.SolrRequest
SolrRequest.METHOD
 
Constructor Summary
QueryRequest()
           
QueryRequest(SolrParams q)
           
QueryRequest(SolrParams q, SolrRequest.METHOD method)
           
 
Method Summary
 Collection<ContentStream> getContentStreams()
           
 SolrParams getParams()
           
 String getPath()
          Use the params 'QT' parameter if it exists
 QueryResponse process(SolrServer server)
           
 
Methods inherited from class org.apache.solr.client.solrj.SolrRequest
getMethod, getResponseParser, getStreamingResponseCallback, setMethod, setPath, setResponseParser, setStreamingResponseCallback
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryRequest

public QueryRequest()

QueryRequest

public QueryRequest(SolrParams q)

QueryRequest

public QueryRequest(SolrParams q,
                    SolrRequest.METHOD method)
Method Detail

getPath

public String getPath()
Use the params 'QT' parameter if it exists

Overrides:
getPath in class SolrRequest

getContentStreams

public Collection<ContentStream> getContentStreams()
Specified by:
getContentStreams in class SolrRequest

getParams

public SolrParams getParams()
Specified by:
getParams in class SolrRequest

process

public QueryResponse process(SolrServer server)
                      throws SolrServerException
Specified by:
process in class SolrRequest
Throws:
SolrServerException


Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.