public interface IDfSimpleAttrExpression extends IDfAttrExpression
Modifier and Type | Field and Description |
---|---|
static int |
SEARCH_OP_BEGINS_WITH
Search operation code: begins with.
|
static int |
SEARCH_OP_CONTAINS
Search operation code: contains.
|
static int |
SEARCH_OP_DOES_NOT_CONTAIN
Search operation code: does not contain.
|
static int |
SEARCH_OP_ENDS_WITH
Search operation code: ends with.
|
static int |
SEARCH_OP_EQUAL
Search operation code: equal.
|
static int |
SEARCH_OP_GREATER_EQUAL
Search operation code: greater than or equal.
|
static int |
SEARCH_OP_GREATER_THAN
Search operation code: greater than.
|
static int |
SEARCH_OP_IS_NOT_NULL
Search operation code: is not null.
|
static int |
SEARCH_OP_IS_NULL
Search operation code: is null.
|
static int |
SEARCH_OP_LESS_EQUAL
Search operation code: less than or equal.
|
static int |
SEARCH_OP_LESS_THAN
Search operation code: less than.
|
static int |
SEARCH_OP_NOT_EQUAL
Search operation code: not equal.
|
SEARCH_OP_UNDEFINED
DATE_FORMAT_DEFAULT, EXPR_TYPE_FULLTEXT, EXPR_TYPE_MLT, EXPR_TYPE_RELATIVE_DATE, EXPR_TYPE_SET, EXPR_TYPE_SIMPLE_ATTR, EXPR_TYPE_UNDEFINED, EXPR_TYPE_VALUE_LIST_ATTR, EXPR_TYPE_VALUE_RANGE_ATTR
Modifier and Type | Method and Description |
---|---|
java.lang.Float |
getFuzzySearchSimilarity()
Indicates the similarity threshold used with the fuzzy search option
|
java.lang.String |
getThesaurusLibrary()
Indicates the thesaurus URI that is used with the thesaurus option
|
java.lang.String |
getValue()
Gets the expected value of the search operation.
|
java.lang.Boolean |
isExactMatchEnabled()
Indicates if an equals or a not_equals constraint must be exact match constraint.
|
java.lang.Boolean |
isFuzzySearchEnabled()
Indicates if fuzzy search will be used to validate this constraint
|
java.lang.Boolean |
isThesaurusSearchEnabled()
Indicates if the thesaurus option will be used to validate this constraint
|
void |
setExactMatchEnabled(java.lang.Boolean exactMatchEnabled)
To evaluate an EQUALS or NOT_EQUALS constraint, an exact match can be done : no stemming, no stop words removal,
no thesaurus search or wildcards.
|
void |
setFuzzySearchEnabled(java.lang.Boolean fuzzySearchEnabled)
Fuzzy Search is an option that can be used only with xPlore 1.1 backend and with XQuery.
|
void |
setFuzzySearchSimilarity(java.lang.Float similarity)
Set the similarity value for the fuzzy search option
This flag overrides the flag 'default_fuzzy_search_similarity' in the dm_ftengine_config object
|
void |
setThesaurusLibrary(java.lang.String thesaurusLibrary)
Set the thesaurus library URI for the thesaurus option
This flag overrides the flag 'use_thesaurus_library' in the dm_ftengine_config object
|
void |
setThesaurusSearchEnabled(java.lang.Boolean thesaurusSearchEnabled)
Thesaurus Search is an option that can be used only with xPlore 1.2 backend and with XQuery.
|
getAttrName, getSearchOperation, getSearchOperationCode, getValueDataType, isCaseSensitive, isRepeated
acceptVisitor, getDateFormat, getExpressionType, setDateFormat
static final int SEARCH_OP_EQUAL
static final int SEARCH_OP_NOT_EQUAL
static final int SEARCH_OP_GREATER_THAN
static final int SEARCH_OP_LESS_THAN
static final int SEARCH_OP_GREATER_EQUAL
static final int SEARCH_OP_LESS_EQUAL
static final int SEARCH_OP_BEGINS_WITH
static final int SEARCH_OP_CONTAINS
static final int SEARCH_OP_DOES_NOT_CONTAIN
static final int SEARCH_OP_ENDS_WITH
static final int SEARCH_OP_IS_NULL
static final int SEARCH_OP_IS_NOT_NULL
java.lang.String getValue()
null
if none.java.lang.Boolean isFuzzySearchEnabled()
java.lang.Float getFuzzySearchSimilarity()
void setFuzzySearchEnabled(java.lang.Boolean fuzzySearchEnabled)
e.g. when searching for "roam", the search will find terms like "foam" and "roams".
fuzzySearchEnabled
- void setFuzzySearchSimilarity(java.lang.Float similarity)
similarity
- value between 0 and 1.java.lang.Boolean isThesaurusSearchEnabled()
java.lang.String getThesaurusLibrary()
void setThesaurusSearchEnabled(java.lang.Boolean thesaurusSearchEnabled)
e.g. the query terms will be expanded according to the terms declared in a thesaurus.
thesaurusSearchEnabled
- void setThesaurusLibrary(java.lang.String thesaurusLibrary)
thesaurusLibrary
- thesaurus URI.java.lang.Boolean isExactMatchEnabled()
void setExactMatchEnabled(java.lang.Boolean exactMatchEnabled)
exactMatchEnabled
- Copyright 1994-2023 OpenText Corporation. All rights reserved.