|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.solr.handler.RequestHandlerUtils
public class RequestHandlerUtils
Common helper functions for RequestHandlers
| Constructor Summary | |
|---|---|
RequestHandlerUtils()
|
|
| Method Summary | |
|---|---|
static void |
addExperimentalFormatWarning(SolrQueryResponse rsp)
A common way to mark the response format as experimental |
static boolean |
handleCommit(SolrQueryRequest req,
UpdateRequestProcessor processor,
org.apache.solr.common.params.SolrParams params,
boolean force)
Check the request parameters and decide if it should commit or optimize. |
static boolean |
handleRollback(SolrQueryRequest req,
UpdateRequestProcessor processor,
org.apache.solr.common.params.SolrParams params,
boolean force)
|
static void |
updateCommit(CommitUpdateCommand cmd,
org.apache.solr.common.params.SolrParams params)
Modify UpdateCommand based on request parameters |
static void |
validateCommitParams(org.apache.solr.common.params.SolrParams params)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RequestHandlerUtils()
| Method Detail |
|---|
public static void addExperimentalFormatWarning(SolrQueryResponse rsp)
public static boolean handleCommit(SolrQueryRequest req,
UpdateRequestProcessor processor,
org.apache.solr.common.params.SolrParams params,
boolean force)
throws IOException
IOExceptionpublic static void validateCommitParams(org.apache.solr.common.params.SolrParams params)
public static void updateCommit(CommitUpdateCommand cmd,
org.apache.solr.common.params.SolrParams params)
throws IOException
IOException
public static boolean handleRollback(SolrQueryRequest req,
UpdateRequestProcessor processor,
org.apache.solr.common.params.SolrParams params,
boolean force)
throws IOException
IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||