public final class SolrPlainQuery extends AbstractSolrCommand<org.apache.solr.client.solrj.response.QueryResponse>
Constructor and Description |
---|
SolrPlainQuery(org.apache.solr.client.solrj.SolrQuery query)
Contructor with plan SolrQuery which will be executed.
|
Modifier and Type | Method and Description |
---|---|
org.apache.solr.client.solrj.response.QueryResponse |
execute()
Executes the implemented Solr command.
|
public SolrPlainQuery(org.apache.solr.client.solrj.SolrQuery query) throws SolrCommandException
query
- Query for execution.SolrCommandException
- Could not execute query.public org.apache.solr.client.solrj.response.QueryResponse execute() throws SolrCommandException
AbstractSolrCommand
execute
in class AbstractSolrCommand<org.apache.solr.client.solrj.response.QueryResponse>
SolrCommandException
- Could not successfully execute Solr command.AbstractSolrCommand.execute()