public class SolrRequestParsers extends Object
Modifier and Type | Field and Description |
---|---|
static SolrRequestParsers |
DEFAULT
Default instance for e.g.
|
static String |
FORMDATA |
static String |
MULTIPART |
static String |
RAW |
static String |
SIMPLE |
static String |
STANDARD |
Constructor and Description |
---|
SolrRequestParsers(Config globalConfig)
Pass in an xml configuration.
|
Modifier and Type | Method and Description |
---|---|
SolrQueryRequest |
buildRequestFrom(SolrCore core,
SolrParams params,
Collection<ContentStream> streams) |
boolean |
isHandleSelect() |
SolrQueryRequest |
parse(SolrCore core,
String path,
javax.servlet.http.HttpServletRequest req) |
static MultiMapSolrParams |
parseQueryString(String queryString)
Given a url-encoded query string (UTF-8), map it into solr params
|
void |
setHandleSelect(boolean handleSelect) |
public static final String MULTIPART
public static final String FORMDATA
public static final String RAW
public static final String SIMPLE
public static final String STANDARD
public static final SolrRequestParsers DEFAULT
public SolrRequestParsers(Config globalConfig)
public SolrQueryRequest parse(SolrCore core, String path, javax.servlet.http.HttpServletRequest req) throws Exception
Exception
public SolrQueryRequest buildRequestFrom(SolrCore core, SolrParams params, Collection<ContentStream> streams) throws Exception
Exception
public static MultiMapSolrParams parseQueryString(String queryString)
public boolean isHandleSelect()
public void setHandleSelect(boolean handleSelect)
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.