Package org.apache.solr.common.params
Interface CommonParams
- 
 public interface CommonParamsParameters used across many handlers
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classCommonParams.EchoParamStylevalid values for:echoParams
 - 
Field SummaryFields Modifier and Type Field Description static StringACTION"action" parameter for SolrPingstatic Set<String>ADMIN_PATHSstatic StringAPISPEC_LOCATIONstatic StringAUTHC_PATHstatic StringAUTHZ_PATHstatic StringCACHEUsed as a local parameter on queries.static StringCHILDDOCstatic StringCOLLECTIONS_HANDLER_PATHstatic StringCONFIGSETS_HANDLER_PATHstatic StringCORES_HANDLER_PATHstatic StringCOSTUsed as a local param on filter queries in conjunction with cache=false.static StringDEBUGWhether to provide debug info for specific items.static StringDEBUG_QUERYwhether to include debug data for all components pieces, including doing explainsstatic StringDFdefault query fieldstatic StringDISABLE"disable" value for SolrPing actionstatic StringDISABLE_REQUEST_IDAn opt-out flag to prevent the addition ofREQUEST_IDtracing on distributed queriesstatic StringDISTRIBdistrib stringstatic StringENABLE"enable" value for SolrPing actionstatic StringEXCLUDEstatic StringEXPLAIN_OTHERanother query to explain againststatic StringEXPLAIN_STRUCTboolean indicating whether score explanations should structured (true), or plain text (false)static StringFAIL_ON_VERSION_CONFLICTSstatic StringFAILUREstatic StringFALSEstatic StringFIELDstatic StringFILEstatic StringFILESstatic StringFLquery and init param for field liststatic StringFQLucene query string(s) for filtering the results without affecting scoringstatic StringHEADER_ECHO_HANDLER'true' if the header should include the handler namestatic StringHEADER_ECHO_PARAMSinclude the parameters in the header *static StringHEALTH_CHECK_HANDLER_PATHstatic StringIDstatic StringINFO_HANDLER_PATHstatic StringINTROSPECTstatic StringIS_QUERY_CANCELLABLEIs the query cancellable?static StringJAVABINstatic StringJAVABIN_MIMEstatic StringJSONstatic StringJSON_MIMEstatic StringLOG_PARAMS_LISTwhich parameters to log (if not supplied all parameters will be logged) *static StringMETRICS_PATHstatic StringMIN_EXACT_COUNTThe number of hits that need to be counted accurately.static StringNAMEstatic StringNOWOverride for the concept of "NOW" to be used throughout this request, expressed as milliseconds since epoch.static StringOKstatic StringOMIT_HEADERinclude header in the responsestatic StringOUTPUT_KEYstatic StringPATHstatic StringPING"ping" value for SolrPing actionstatic StringPING_HANDLERhandler value for SolrPingstatic StringQquery stringstatic StringQTthe Request Handler (formerly known as the Query Type) - which Request Handler should handle the requeststatic StringQUERYDEBUGvalue indicating an interest in debug output related to the Query (parsing, etc.)static StringQUERY_UUIDCustom query UUID if provided.static StringREQUEST_IDRequest ID parameter added to all distributed queries (that do not opt out)static StringREQUEST_PURPOSERequest Purpose parameter added to each internal shard request when using debug=trackstatic StringRESULTSDEBUGvalue indicating an interest in debug output related to the results (explains)static StringROWSnumber of documents to return starting at "start"static intROWS_DEFAULTstatic StringRQrank querystatic StringSEGMENT_TERMINATE_EARLYWhether or not the search may be terminated early within a segment.static booleanSEGMENT_TERMINATE_EARLY_DEFAULTstatic StringSOLR_REQUEST_CONTEXT_PARAMstatic StringSOLR_REQUEST_TYPE_PARAMstatic StringSORTsort orderstatic StringSTARTzero based offset of matching documents to retrievestatic intSTART_DEFAULTstatic StringSTATUSstatic StringSTREAM_BODYIf the content stream should come directly from a fieldstatic StringSTREAM_CONTENTTYPEExplicitly set the content type for the input stream If multiple streams are specified, the explicit contentType will be used for all of them.static StringSTREAM_FILEIf the content stream should come from a File (using FileReader)static StringSTREAM_URLIf the content stream should come from a URL (using URLConnection)static StringSYSTEM_INFO_PATHstatic StringTAGstatic StringTASK_CHECK_UUIDUUID of the task whose status is to be checkedstatic StringTERMSstatic StringTHREADSstatic StringTIME_ALLOWEDTimeout value in milliseconds.static StringTIMINGDEBUGvalue indicating an interest in debug output related to timingstatic StringTRACKDEBUGvalue indicating an interest in debug output related to the distributed trackingstatic StringTRUEstatic StringTYPEdocument type inCollectionAdminParams.SYSTEM_COLLcollection.static StringTZSpecifies the TimeZone used by the client for the purposes of any DateMath rounding that may take place when executing the requeststatic StringVALUEstatic StringVALUE_LONGstatic StringVERSIONversion parameter to check request-response compatibilitystatic StringVERSION_FIELDstatic StringWTthe response writer type - the format of the responsestatic StringXSLstylesheet to apply to XML resultsstatic StringZK_PATHstatic StringZK_STATUS_PATH
 
- 
- 
- 
Field Detail- 
NOWstatic final String NOW Override for the concept of "NOW" to be used throughout this request, expressed as milliseconds since epoch. This is primarily used in distributed search to ensure consistent time values are used across multiple sub-requests.- See Also:
- Constant Field Values
 
 - 
TZstatic final String TZ Specifies the TimeZone used by the client for the purposes of any DateMath rounding that may take place when executing the request- See Also:
- Constant Field Values
 
 - 
QTstatic final String QT the Request Handler (formerly known as the Query Type) - which Request Handler should handle the request- See Also:
- Constant Field Values
 
 - 
WTstatic final String WT the response writer type - the format of the response- See Also:
- Constant Field Values
 
 - 
Qstatic final String Q query string- See Also:
- Constant Field Values
 
 - 
RQstatic final String RQ rank query- See Also:
- Constant Field Values
 
 - 
DISTRIBstatic final String DISTRIB distrib string- See Also:
- Constant Field Values
 
 - 
SORTstatic final String SORT sort order- See Also:
- Constant Field Values
 
 - 
FQstatic final String FQ Lucene query string(s) for filtering the results without affecting scoring- See Also:
- Constant Field Values
 
 - 
STARTstatic final String START zero based offset of matching documents to retrieve- See Also:
- Constant Field Values
 
 - 
START_DEFAULTstatic final int START_DEFAULT - See Also:
- Constant Field Values
 
 - 
ROWSstatic final String ROWS number of documents to return starting at "start"- See Also:
- Constant Field Values
 
 - 
ROWS_DEFAULTstatic final int ROWS_DEFAULT - See Also:
- Constant Field Values
 
 - 
PING_HANDLERstatic final String PING_HANDLER handler value for SolrPing- See Also:
- Constant Field Values
 
 - 
ACTIONstatic final String ACTION "action" parameter for SolrPing- See Also:
- Constant Field Values
 
 - 
DISABLEstatic final String DISABLE "disable" value for SolrPing action- See Also:
- Constant Field Values
 
 - 
ENABLEstatic final String ENABLE "enable" value for SolrPing action- See Also:
- Constant Field Values
 
 - 
PINGstatic final String PING "ping" value for SolrPing action- See Also:
- Constant Field Values
 
 - 
XSLstatic final String XSL stylesheet to apply to XML results- See Also:
- Constant Field Values
 
 - 
VERSIONstatic final String VERSION version parameter to check request-response compatibility- See Also:
- Constant Field Values
 
 - 
FLstatic final String FL query and init param for field list- See Also:
- Constant Field Values
 
 - 
DFstatic final String DF default query field- See Also:
- Constant Field Values
 
 - 
DEBUG_QUERYstatic final String DEBUG_QUERY whether to include debug data for all components pieces, including doing explains- See Also:
- Constant Field Values
 
 - 
DEBUGstatic final String DEBUG Whether to provide debug info for specific items.- See Also:
- DEBUG_QUERY, Constant Field Values
 
 - 
TIMINGstatic final String TIMING DEBUGvalue indicating an interest in debug output related to timing- See Also:
- Constant Field Values
 
 - 
RESULTSstatic final String RESULTS DEBUGvalue indicating an interest in debug output related to the results (explains)- See Also:
- Constant Field Values
 
 - 
QUERYstatic final String QUERY DEBUGvalue indicating an interest in debug output related to the Query (parsing, etc.)- See Also:
- Constant Field Values
 
 - 
TRACKstatic final String TRACK DEBUGvalue indicating an interest in debug output related to the distributed tracking- See Also:
- Constant Field Values
 
 - 
EXPLAIN_STRUCTstatic final String EXPLAIN_STRUCT boolean indicating whether score explanations should structured (true), or plain text (false)- See Also:
- Constant Field Values
 
 - 
EXPLAIN_OTHERstatic final String EXPLAIN_OTHER another query to explain against- See Also:
- Constant Field Values
 
 - 
STREAM_URLstatic final String STREAM_URL If the content stream should come from a URL (using URLConnection)- See Also:
- Constant Field Values
 
 - 
STREAM_FILEstatic final String STREAM_FILE If the content stream should come from a File (using FileReader)- See Also:
- Constant Field Values
 
 - 
STREAM_BODYstatic final String STREAM_BODY If the content stream should come directly from a field- See Also:
- Constant Field Values
 
 - 
STREAM_CONTENTTYPEstatic final String STREAM_CONTENTTYPE Explicitly set the content type for the input stream If multiple streams are specified, the explicit contentType will be used for all of them.- See Also:
- Constant Field Values
 
 - 
SEGMENT_TERMINATE_EARLYstatic final String SEGMENT_TERMINATE_EARLY Whether or not the search may be terminated early within a segment.- See Also:
- Constant Field Values
 
 - 
SEGMENT_TERMINATE_EARLY_DEFAULTstatic final boolean SEGMENT_TERMINATE_EARLY_DEFAULT - See Also:
- Constant Field Values
 
 - 
TIME_ALLOWEDstatic final String TIME_ALLOWED Timeout value in milliseconds. If not set, or the value is > 0, there is no timeout.- See Also:
- Constant Field Values
 
 - 
IS_QUERY_CANCELLABLEstatic final String IS_QUERY_CANCELLABLE Is the query cancellable?- See Also:
- Constant Field Values
 
 - 
QUERY_UUIDstatic final String QUERY_UUID Custom query UUID if provided.- See Also:
- Constant Field Values
 
 - 
TASK_CHECK_UUIDstatic final String TASK_CHECK_UUID UUID of the task whose status is to be checked- See Also:
- Constant Field Values
 
 - 
MIN_EXACT_COUNTstatic final String MIN_EXACT_COUNT The number of hits that need to be counted accurately. If more thanMIN_EXACT_COUNTdocuments match a query, then the value in "numFound" may be an estimate to speedup search.- See Also:
- Constant Field Values
 
 - 
HEADER_ECHO_HANDLERstatic final String HEADER_ECHO_HANDLER 'true' if the header should include the handler name- See Also:
- Constant Field Values
 
 - 
HEADER_ECHO_PARAMSstatic final String HEADER_ECHO_PARAMS include the parameters in the header *- See Also:
- Constant Field Values
 
 - 
OMIT_HEADERstatic final String OMIT_HEADER include header in the response- See Also:
- Constant Field Values
 
 - 
CORES_HANDLER_PATHstatic final String CORES_HANDLER_PATH - See Also:
- Constant Field Values
 
 - 
COLLECTIONS_HANDLER_PATHstatic final String COLLECTIONS_HANDLER_PATH - See Also:
- Constant Field Values
 
 - 
INFO_HANDLER_PATHstatic final String INFO_HANDLER_PATH - See Also:
- Constant Field Values
 
 - 
HEALTH_CHECK_HANDLER_PATHstatic final String HEALTH_CHECK_HANDLER_PATH - See Also:
- Constant Field Values
 
 - 
CONFIGSETS_HANDLER_PATHstatic final String CONFIGSETS_HANDLER_PATH - See Also:
- Constant Field Values
 
 - 
AUTHZ_PATHstatic final String AUTHZ_PATH - See Also:
- Constant Field Values
 
 - 
AUTHC_PATHstatic final String AUTHC_PATH - See Also:
- Constant Field Values
 
 - 
ZK_PATHstatic final String ZK_PATH - See Also:
- Constant Field Values
 
 - 
ZK_STATUS_PATHstatic final String ZK_STATUS_PATH - See Also:
- Constant Field Values
 
 - 
SYSTEM_INFO_PATHstatic final String SYSTEM_INFO_PATH - See Also:
- Constant Field Values
 
 - 
METRICS_PATHstatic final String METRICS_PATH - See Also:
- Constant Field Values
 
 - 
STATUSstatic final String STATUS - See Also:
- Constant Field Values
 
 - 
OKstatic final String OK - See Also:
- Constant Field Values
 
 - 
FAILUREstatic final String FAILURE - See Also:
- Constant Field Values
 
 - 
APISPEC_LOCATIONstatic final String APISPEC_LOCATION - See Also:
- Constant Field Values
 
 - 
INTROSPECTstatic final String INTROSPECT - See Also:
- Constant Field Values
 
 - 
LOG_PARAMS_LISTstatic final String LOG_PARAMS_LIST which parameters to log (if not supplied all parameters will be logged) *- See Also:
- Constant Field Values
 
 - 
EXCLUDEstatic final String EXCLUDE - See Also:
- Constant Field Values
 
 - 
TAGstatic final String TAG - See Also:
- Constant Field Values
 
 - 
TERMSstatic final String TERMS - See Also:
- Constant Field Values
 
 - 
OUTPUT_KEYstatic final String OUTPUT_KEY - See Also:
- Constant Field Values
 
 - 
FIELDstatic final String FIELD - See Also:
- Constant Field Values
 
 - 
VALUEstatic final String VALUE - See Also:
- Constant Field Values
 
 - 
THREADSstatic final String THREADS - See Also:
- Constant Field Values
 
 - 
TRUEstatic final String TRUE 
 - 
FALSEstatic final String FALSE 
 - 
TYPEstatic final String TYPE document type inCollectionAdminParams.SYSTEM_COLLcollection. *- See Also:
- Constant Field Values
 
 - 
CACHEstatic final String CACHE Used as a local parameter on queries. cache=false means don't check any query or filter caches. cache=true is the default.- See Also:
- Constant Field Values
 
 - 
COSTstatic final String COST Used as a local param on filter queries in conjunction with cache=false. Filters are checked in order, from smallest cost to largest. If cost>=100 and the query implements PostFilter, then that interface will be used to do post query filtering.- See Also:
- Constant Field Values
 
 - 
REQUEST_IDstatic final String REQUEST_ID Request ID parameter added to all distributed queries (that do not opt out)- See Also:
- DISABLE_REQUEST_ID, Constant Field Values
 
 - 
DISABLE_REQUEST_IDstatic final String DISABLE_REQUEST_ID An opt-out flag to prevent the addition ofREQUEST_IDtracing on distributed queriesDefaults to 'false' if not specified. - See Also:
- REQUEST_ID, Constant Field Values
 
 - 
REQUEST_PURPOSEstatic final String REQUEST_PURPOSE Request Purpose parameter added to each internal shard request when using debug=track- See Also:
- Constant Field Values
 
 - 
JAVABINstatic final String JAVABIN - See Also:
- Constant Field Values
 
 - 
JSONstatic final String JSON - See Also:
- Constant Field Values
 
 - 
PATHstatic final String PATH - See Also:
- Constant Field Values
 
 - 
NAMEstatic final String NAME - See Also:
- Constant Field Values
 
 - 
VALUE_LONGstatic final String VALUE_LONG - See Also:
- Constant Field Values
 
 - 
SOLR_REQUEST_CONTEXT_PARAMstatic final String SOLR_REQUEST_CONTEXT_PARAM - See Also:
- Constant Field Values
 
 - 
SOLR_REQUEST_TYPE_PARAMstatic final String SOLR_REQUEST_TYPE_PARAM - See Also:
- Constant Field Values
 
 - 
VERSION_FIELDstatic final String VERSION_FIELD - See Also:
- Constant Field Values
 
 - 
FAIL_ON_VERSION_CONFLICTSstatic final String FAIL_ON_VERSION_CONFLICTS - See Also:
- Constant Field Values
 
 - 
IDstatic final String ID - See Also:
- Constant Field Values
 
 - 
JSON_MIMEstatic final String JSON_MIME - See Also:
- Constant Field Values
 
 - 
JAVABIN_MIMEstatic final String JAVABIN_MIME - See Also:
- Constant Field Values
 
 - 
FILEstatic final String FILE - See Also:
- Constant Field Values
 
 - 
FILESstatic final String FILES - See Also:
- Constant Field Values
 
 - 
CHILDDOCstatic final String CHILDDOC - See Also:
- Constant Field Values
 
 
- 
 
-