Package com.c8db.model
Class FulltextIndexOptions
- java.lang.Object
-
- com.c8db.model.IndexOptions
-
- com.c8db.model.FulltextIndexOptions
-
public class FulltextIndexOptions extends IndexOptions
-
-
Constructor Summary
Constructors Constructor Description FulltextIndexOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected FulltextIndexOptionsfields(Iterable<String> fields)protected Iterable<String>getFields()IntegergetMinLength()FulltextIndexOptionsminLength(Integer minLength)-
Methods inherited from class com.c8db.model.IndexOptions
create, getInBackground, getName, getType, inBackground, name
-
-
-
-
Method Detail
-
fields
protected FulltextIndexOptions fields(Iterable<String> fields)
- Parameters:
fields- A list of attribute paths- Returns:
- options
-
getMinLength
public Integer getMinLength()
-
minLength
public FulltextIndexOptions minLength(Integer minLength)
- Parameters:
minLength- Minimum character length of words to index. Will default to a server-defined value if unspecified. It is thus recommended to set this value explicitly when creating the index.- Returns:
- options
-
-