public class SolrRequestParsers extends Object
Modifier and Type | Field and Description |
---|---|
static SolrRequestParsers |
DEFAULT
Default instance for e.g.
|
static SolrFileCleaningTracker |
fileCleaningTracker |
static String |
FORMDATA |
static String |
INPUT_ENCODING_KEY |
static String |
MULTIPART |
static String |
RAW |
static String |
REQUEST_TIMER_SERVLET_ATTRIBUTE |
static String |
SIMPLE |
static String |
STANDARD |
Constructor and Description |
---|
SolrRequestParsers(SolrConfig globalConfig)
Pass in an xml configuration.
|
Modifier and Type | Method and Description |
---|---|
SolrQueryRequest |
buildRequestFrom(SolrCore core,
SolrParams params,
Collection<ContentStream> streams) |
boolean |
isAddRequestHeadersToContext() |
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 |
setAddRequestHeadersToContext(boolean addRequestHeadersToContext) |
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 String INPUT_ENCODING_KEY
public static final String REQUEST_TIMER_SERVLET_ATTRIBUTE
public static final SolrRequestParsers DEFAULT
public static volatile SolrFileCleaningTracker fileCleaningTracker
public SolrRequestParsers(SolrConfig 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)
public boolean isAddRequestHeadersToContext()
public void setAddRequestHeadersToContext(boolean addRequestHeadersToContext)
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.