|
||||||||||
| 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,
SolrQueryResponse rsp,
boolean force)
Deprecated. Use handleCommit(UpdateRequestProcessor,SolrParams,boolean) |
static boolean |
handleCommit(UpdateRequestProcessor processor,
SolrParams params,
boolean force)
Check the request parameters and decide if it should commit or optimize. |
static boolean |
handleRollback(UpdateRequestProcessor processor,
SolrParams params,
boolean force)
|
| 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)
@Deprecated
public static boolean handleCommit(SolrQueryRequest req,
SolrQueryResponse rsp,
boolean force)
throws IOException
handleCommit(UpdateRequestProcessor,SolrParams,boolean)
IOException
public static boolean handleCommit(UpdateRequestProcessor processor,
SolrParams params,
boolean force)
throws IOException
IOException
public static boolean handleRollback(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 | |||||||||