public class RequestHandlerUtils extends Object
Constructor and Description |
---|
RequestHandlerUtils() |
Modifier and Type | Method and Description |
---|---|
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) |
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
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.