Package com.couchbase.lite
Class FullTextIndexConfiguration
- java.lang.Object
-
- com.couchbase.lite.AbstractIndex
-
- com.couchbase.lite.IndexConfiguration
-
- com.couchbase.lite.FullTextIndexConfiguration
-
public class FullTextIndexConfiguration extends IndexConfiguration
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.couchbase.lite.AbstractIndex
AbstractIndex.IndexType, AbstractIndex.QueryLanguage
-
-
Constructor Summary
Constructors Constructor Description FullTextIndexConfiguration(java.lang.String... expressions)
FullTextIndexConfiguration(java.util.List<java.lang.String> expressions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getLanguage()
FullTextIndexConfiguration
ignoreAccents(boolean ignoreAccents)
Set the true value to ignore accents/diacritical marks.boolean
isIgnoringAccents()
FullTextIndexConfiguration
setLanguage(java.lang.String language)
The language code which is an ISO-639 language such as "en", "fr", etc.-
Methods inherited from class com.couchbase.lite.IndexConfiguration
getExpressions
-
Methods inherited from class com.couchbase.lite.AbstractIndex
toString
-
-
-
-
Method Detail
-
setLanguage
@NonNull public FullTextIndexConfiguration setLanguage(@Nullable java.lang.String language)
The language code which is an ISO-639 language such as "en", "fr", etc. Setting the language code affects how word breaks and word stems are parsed. If not explicitly set, the current locale's language will be used. Setting a null, empty, or unrecognized value will disable the language features.
-
getLanguage
@Nullable public java.lang.String getLanguage()
-
ignoreAccents
@NonNull public FullTextIndexConfiguration ignoreAccents(boolean ignoreAccents)
Set the true value to ignore accents/diacritical marks. The default value is false.
-
isIgnoringAccents
public boolean isIgnoringAccents()
-
-