public class SearchParameter extends AbstractParameter
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ADD_CATEGORY_GROUP
Key of the parameter used to add category group.
|
static java.lang.String |
ADD_HIGHLIGHT
Key of the parameter used to add an highlight operation
|
static java.lang.String |
ADD_HIT_META
Key of the parameter used to add hit meta from an index field.
|
static java.lang.String |
ADD_SUMMARY
Key of the parameter used to add a snippet operation
|
static java.lang.String |
ADD_VIRTUAL_FIELD
Key of the parameter used to add a new virtual field definition.
|
static java.lang.String |
CACHE
Key of the parameter used to enable query caching
|
static java.lang.String |
CANCEL_REFINE
Key of the parameter used to remove a refinement.
|
static java.lang.String |
CHECKPOINTS
Key of the parameter used to request checkpoints.
|
static java.lang.String |
COLLAPSING
Key of the parameter used to configure the collapsing of the results.
|
static java.lang.String |
CONTEXT
Key of the parameter used set the search context.
|
static java.lang.String |
DEBUG
Key of the parameter used to enable debug.
|
static java.lang.String |
DP
Key of the parameter used to set the default prefix handler
|
static java.lang.String |
DP_CHUNK
Key of the parameter used to set the default prefix handler for a specific query chunk
|
static java.lang.String |
ELLQL_QUERY
Key of the parameter used to pass an ELLQL query
|
static java.lang.String |
ENFORCE_SECURITY
Should security be actually enforced
|
static java.lang.String |
HF
Key of the parameter used to set the number of results that will be retrieved
|
static java.lang.String |
HIT_INFOS
Key of the parameter used to add hit informations.
|
static java.lang.String |
JSON_CALLBACK
Key of the parameter used to specify a JavaScript callback
|
static java.lang.String |
LANG
Key of the parameter used to set the query language
|
static java.lang.String |
LIMITS
Key of the parameter used to set the limits
|
static java.lang.String |
LOGIC
Key of the parameter used set the logic (default query) that will be used.
|
static java.lang.String |
MM
Key of the parameter used to specify the matching mode
|
static java.lang.String |
NRESULTS
Key of the parameter used to set the number of results that will be retrieved
|
static java.lang.String |
ORIGIN
Deprecated.
|
static java.lang.String |
OUTPUT_FORMAT
Key of the parameter used to specify the output format
|
static java.lang.String |
PAL
Key of the parameter used to enable patterns expansion on all languages
|
static java.lang.String |
PROXIMITY
Key of the parameter used to enable proximity
|
static java.lang.String |
PROXIMITY_DISTANCE
Key of the parameter used to specify the proximity max distance
|
static java.lang.String |
PROXIMITY_MAX
Deprecated.
|
static java.lang.String |
QEC
Key of the parameter used to set the query expasion config
|
static java.lang.String |
QUERY
Key of the parameter used to set the query string
ex: "exalead OR author:bourdoncle"
See "Query Language Guide" for more details
|
static java.lang.String |
QUERY_TEMPLATE
Key of the parameter used to specify the query template
|
static java.lang.String |
REFINE
Key of the parameter used to add a refinement
A refinement is way to precise by your query by adding restriction to
a set of categories.
|
static java.lang.String |
RELEVANCE
Key of the parameter used to enable text relevance
|
static java.lang.String |
REMOVE_CATEGORY_GROUP
Key of the parameter used to remove a category group.
|
static java.lang.String |
REMOVE_FACET
Key of the parameter used to remove a facet
|
static java.lang.String |
REMOVE_HIT_META
Key of the parameter used to remove a meta from hits (parameter value retrieved field name)
|
static java.lang.String |
REMOVE_VIRTUAL_FIELD
Key of the parameter used to remove a virtual definition definition using its name.
|
static java.lang.String |
REPORTING
Key of the parameter used to enable reporting.
|
static java.lang.String |
RT
Key of the parameter used to enable RelatedTerms synthesis
|
static java.lang.String |
SCORE_MAP
Deprecated.
|
static java.lang.String |
SECURITY
Key of the parameter used to add a security token
Security tokens are pushed by connectors thanks to the meta "security"
When security token check is enabled on the search server, the documents
must have the provided security tokens to be retrieved.
|
static java.lang.String |
SORT
Key of the parameter used to set the field on which the results will be sorted
Note that you can't sort on alphanumerical and category fields
|
static java.lang.String |
SORT_ASCENDING
Deprecated.
to sort order for each sort dimensions is defined by the sort string.
|
static java.lang.String |
SORTED
Key of the parameter used to enabled result sorting
|
static java.lang.String |
SPELLCHECK
Key of the parameter used to enable spellcheck
|
static java.lang.String |
START
Key of the parameter used to set the index of the first result to retrieve (starts from 0)
|
static java.lang.String |
STATIC_RANKING_EXPRESSION
Deprecated.
|
static java.lang.String |
STREAMING
Key of the parameter used to enable streaming search mode
|
static java.lang.String |
SYNTHESIS
Key of the parameter used to enable facets
|
static java.lang.String |
SYNTHESIS_HITS
Key of the parameter used to enable hit facets
|
static java.lang.String |
TARGET
Key of the parameter used to set the search target on a 5.0 product
|
static java.lang.String |
TERM_SCORE
Key of the parameter used to specify the term score formula
|
static java.lang.String |
TIMEOUT
Key of the parameter used to set the query timeout (ms).
|
static java.lang.String |
USE_LOGIC_FACETS
Key of the parameter used to enable the use of logic's facets
|
static java.lang.String |
USE_LOGIC_HIT_METAS
Key of the parameter used to enable the use of logic's hit metas
|
static java.lang.String |
USE_LOGIC_VIRTUAL_FIELDS
Key of the parameter used to enable the use of logic's virtual fields
|
static java.lang.String |
ZAP_REFINE
Key of the parameter used to "zap" refinement which consists in removing the refinement
and adding the father if possible.
|
name, value
Constructor and Description |
---|
SearchParameter(java.lang.String name,
java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
getName, getValue, setValue
public static final java.lang.String QUERY
public static final java.lang.String NRESULTS
public static final java.lang.String START
public static final java.lang.String LANG
public static final java.lang.String SORT
@Deprecated public static final java.lang.String SORT_ASCENDING
public static final java.lang.String SECURITY
public static final java.lang.String ENFORCE_SECURITY
public static final java.lang.String REFINE
public static final java.lang.String CANCEL_REFINE
REFINE
parameter
or SearchQuery.addRefinement(String, boolean)
.
Warning this parameter is not supported on the 4.6 product
public static final java.lang.String ZAP_REFINE
REFINE
,
CANCEL_REFINE
,
Constant Field Valuespublic static final java.lang.String LOGIC
public static final java.lang.String TARGET
Warning this parameter is not supported on the 4.6 product
public static final java.lang.String CONTEXT
Answer.getContext()
,
SearchAnswer.getInfos()
,
SearchQuery.setSearchContext(String)
,
Constant Field Valuespublic static final java.lang.String ADD_CATEGORY_GROUP
Warning this parameter is not supported on the 4.6 product
public static final java.lang.String REMOVE_CATEGORY_GROUP
public static final java.lang.String ADD_HIT_META
simple syntax: name[:summary]@indexField[:highlighting:maxLength] (hightlighting values are 1 or 0), ex: mymeta@myindexfield:0:100
syntax for csv encoded field:
Warning this parameter is not supported on the 4.6 product
public static final java.lang.String REMOVE_HIT_META
Warning this parameter is not supported on the 4.6 product
public static final java.lang.String ADD_VIRTUAL_FIELD
Syntax is : name:expression
Warning this parameter is not supported on the 4.6 product
public static final java.lang.String REMOVE_VIRTUAL_FIELD
Warning this parameter is not supported on the 4.6 product
@Deprecated public static final java.lang.String STATIC_RANKING_EXPRESSION
Warning this parameter is not supported on the 4.6 product
public static final java.lang.String COLLAPSING
Warning this parameter is not supported on the 4.6 product
public static final java.lang.String TIMEOUT
Warning this parameter is not supported on the 4.6 product
@Deprecated public static final java.lang.String ORIGIN
public static final java.lang.String CHECKPOINTS
public static final java.lang.String DEBUG
public static final java.lang.String REPORTING
public static final java.lang.String HIT_INFOS
public static final java.lang.String ELLQL_QUERY
public static final java.lang.String QUERY_TEMPLATE
public static final java.lang.String DP
public static final java.lang.String DP_CHUNK
public static final java.lang.String QEC
public static final java.lang.String PAL
public static final java.lang.String MM
public static final java.lang.String LIMITS
public static final java.lang.String HF
public static final java.lang.String USE_LOGIC_HIT_METAS
public static final java.lang.String ADD_HIGHLIGHT
public static final java.lang.String ADD_SUMMARY
public static final java.lang.String RT
public static final java.lang.String SYNTHESIS
public static final java.lang.String SYNTHESIS_HITS
public static final java.lang.String USE_LOGIC_FACETS
public static final java.lang.String REMOVE_FACET
public static final java.lang.String SPELLCHECK
@Deprecated public static final java.lang.String SCORE_MAP
public static final java.lang.String TERM_SCORE
public static final java.lang.String PROXIMITY
@Deprecated public static final java.lang.String PROXIMITY_MAX
public static final java.lang.String PROXIMITY_DISTANCE
public static final java.lang.String RELEVANCE
public static final java.lang.String STREAMING
public static final java.lang.String SORTED
public static final java.lang.String USE_LOGIC_VIRTUAL_FIELDS
public static final java.lang.String OUTPUT_FORMAT
public static final java.lang.String JSON_CALLBACK
public static final java.lang.String CACHE
Copyright © 2021 Dassault Systèmes, All Rights Reserved.