public class SolrRequestParsers extends Object
Modifier and Type | Field and Description |
---|---|
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 standard query string map it into solr params
|
void |
setHandleSelect(boolean handleSelect) |
public static final String MULTIPART
public static final String RAW
public static final String SIMPLE
public static final String STANDARD
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)