|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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,
SolrParams params,
boolean force)
Check the request parameters and decide if it should commit or optimize. |
static boolean |
handleRollback(SolrQueryRequest req,
UpdateRequestProcessor processor,
SolrParams params,
boolean force)
|
static void |
updateCommit(CommitUpdateCommand cmd,
SolrParams params)
Modify UpdateCommand based on request parameters |
static void |
validateCommitParams(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, SolrParams params, boolean force) throws IOException
IOException
public static void validateCommitParams(SolrParams params)
public static void updateCommit(CommitUpdateCommand cmd, SolrParams params)
public static boolean handleRollback(SolrQueryRequest req, UpdateRequestProcessor processor, SolrParams params, boolean force) throws IOException
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |