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