org.apache.solr.handler
Class RequestHandlerUtils
java.lang.Object
org.apache.solr.handler.RequestHandlerUtils
public class RequestHandlerUtils
- extends Object
Common helper functions for RequestHandlers
- Since:
- solr 1.2
- Version:
- $Id: RequestHandlerUtils.java 534669 2007-05-03 00:59:09Z ryan $
- Author:
- ryan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestHandlerUtils
public RequestHandlerUtils()
addExperimentalFormatWarning
public static void addExperimentalFormatWarning(SolrQueryResponse rsp)
- A common way to mark the response format as experimental
handleCommit
public static boolean handleCommit(SolrQueryRequest req,
SolrQueryResponse rsp,
boolean force)
throws IOException
- Check the request parameters and decide if it should commit or optimize.
If it does, it will check parameters for "waitFlush" and "waitSearcher"
- Throws:
IOException
Copyright © 2006 - 2009 The Apache Software Foundation