Package com.couchbase.lite
Class FullTextIndex
- java.lang.Object
-
- com.couchbase.lite.AbstractIndex
-
- com.couchbase.lite.Index
-
- com.couchbase.lite.FullTextIndex
-
public class FullTextIndex extends Index
Index for Full-Text search
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.couchbase.lite.AbstractIndex
AbstractIndex.IndexType, AbstractIndex.QueryLanguage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FullTextIndex
ignoreAccents(boolean ignoreAccents)
Set true to ignore accents/diacritical marks.FullTextIndex
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.AbstractIndex
toString
-
-
-
-
Method Detail
-
setLanguage
@NonNull public FullTextIndex 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.
-
ignoreAccents
@NonNull public FullTextIndex ignoreAccents(boolean ignoreAccents)
Set true to ignore accents/diacritical marks. The default is false.
-
-