org.apache.solr.servlet
Class SolrRequestParsers

java.lang.Object
  extended by org.apache.solr.servlet.SolrRequestParsers

public class SolrRequestParsers
extends java.lang.Object


Field Summary
static java.lang.String MULTIPART
           
static java.lang.String RAW
           
static java.lang.String SIMPLE
           
static java.lang.String STANDARD
           
 
Constructor Summary
SolrRequestParsers(Config globalConfig)
          Pass in an xml configuration.
 
Method Summary
 SolrQueryRequest buildRequestFrom(SolrCore core, SolrParams params, java.util.Collection<ContentStream> streams)
           
 boolean isHandleSelect()
           
 SolrQueryRequest parse(SolrCore core, java.lang.String path, javax.servlet.http.HttpServletRequest req)
           
static MultiMapSolrParams parseQueryString(java.lang.String queryString)
          Given a standard query string map it into solr params
 void setHandleSelect(boolean handleSelect)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MULTIPART

public static final java.lang.String MULTIPART
See Also:
Constant Field Values

RAW

public static final java.lang.String RAW
See Also:
Constant Field Values

SIMPLE

public static final java.lang.String SIMPLE
See Also:
Constant Field Values

STANDARD

public static final java.lang.String STANDARD
See Also:
Constant Field Values
Constructor Detail

SolrRequestParsers

public SolrRequestParsers(Config globalConfig)
Pass in an xml configuration. A null configuration will enable everythign with maximum values.

Method Detail

parse

public SolrQueryRequest parse(SolrCore core,
                              java.lang.String path,
                              javax.servlet.http.HttpServletRequest req)
                       throws java.lang.Exception
Throws:
java.lang.Exception

buildRequestFrom

public SolrQueryRequest buildRequestFrom(SolrCore core,
                                         SolrParams params,
                                         java.util.Collection<ContentStream> streams)
                                  throws java.lang.Exception
Throws:
java.lang.Exception

parseQueryString

public static MultiMapSolrParams parseQueryString(java.lang.String queryString)
Given a standard query string map it into solr params


isHandleSelect

public boolean isHandleSelect()

setHandleSelect

public void setHandleSelect(boolean handleSelect)


Copyright © 2006-2010 The Apache Software Foundation. All Rights Reserved.