public class JSSearchPreferences extends MBScriptableObject
myLogger| Constructor and Description |
|---|
JSSearchPreferences() |
| Modifier and Type | Method and Description |
|---|---|
void |
jsConstructor()
Constructor, with following defaults:
- Search by synonyms: true
- Search terms by synonyms: false
- Suggest similar words: true
- Fields to search: (empty)
- Synonyms Dictionaries: (empty)
|
java.util.List |
jsFunction_getFieldsToSearch()
Gets the fields to use for quick search.
|
org.mozilla.javascript.NativeArray |
jsFunction_getSynonymsDictionaries()
Returns the synonym Dictionary ids.
|
boolean |
jsFunction_isSynonyms()
Search synonyms?
|
boolean |
jsFunction_isTermsBySynonyms()
Determines if search terms by synonyms option is enabled or disabled.
|
boolean |
jsFunction_isThesaurus()
Suggest similar words?
|
void |
jsFunction_setFieldsToSearch(org.mozilla.javascript.NativeArray theFieldsToSearch)
Sets the fields to use for quick search.
|
void |
jsFunction_setSynonyms(boolean theSynonyms)
Sets whether to search synonyms.
|
void |
jsFunction_setSynonymsDictionaries(org.mozilla.javascript.NativeArray theDictionaryIds)
Sets the synonym Dictionary ids.
|
void |
jsFunction_setTermsBySynonyms(boolean theTermsBySynonyms)
Sets search terms by synonyms mode.
|
void |
jsFunction_setThesaurus(boolean theThesaurus)
Sets whether to suggest similar words.
|
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureSymbolScriptable, equivalentValues, get, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getAttributes, getClassName, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGeneratorFunctionPrototype, getGetterOrSetter, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, has, hasInstance, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, put, putConst, putConstProperty, putProperty, putProperty, putProperty, querySlot, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setAttributes, setCommonDescriptorProperties, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, sizepublic void jsConstructor()
public boolean jsFunction_isSynonyms()
public void jsFunction_setSynonyms(boolean theSynonyms)
theSynonyms - true if so, false if no.public boolean jsFunction_isTermsBySynonyms()
true if search terms by synonyms option is enabled, false otherwisepublic void jsFunction_setTermsBySynonyms(boolean theTermsBySynonyms)
theTermsBySynonyms - search terms by synonyms mode to setpublic boolean jsFunction_isThesaurus()
public void jsFunction_setThesaurus(boolean theThesaurus)
theThesaurus - true if so, false if no.public org.mozilla.javascript.NativeArray jsFunction_getSynonymsDictionaries()
public void jsFunction_setSynonymsDictionaries(org.mozilla.javascript.NativeArray theDictionaryIds)
theDictionaryIds - ids.public java.util.List jsFunction_getFieldsToSearch()
public void jsFunction_setFieldsToSearch(org.mozilla.javascript.NativeArray theFieldsToSearch)
theFieldsToSearch - the fields (strings) to use for quick searchCopyright © 2026 MediaBeacon, Inc. All Rights Reserved.