public class TextField extends SchemaField
fieldName| Constructor and Description |
|---|
TextField(FieldName fieldName) |
TextField(java.lang.String fieldName) |
| Modifier and Type | Method and Description |
|---|---|
void |
addParams(CommandArguments args) |
TextField |
as(java.lang.String attribute) |
TextField |
indexEmpty() |
TextField |
indexMissing() |
TextField |
noIndex()
Avoid indexing.
|
TextField |
noStem()
Disable stemming when indexing.
|
static TextField |
of(FieldName fieldName) |
static TextField |
of(java.lang.String fieldName) |
TextField |
phonetic(java.lang.String matcher)
Perform phonetic matching.
|
TextField |
sortable()
Sorts the results by the value of this field.
|
TextField |
sortableUNF()
Sorts the results by the value of this field without normalization.
|
TextField |
sortableUnNormalizedForm()
Deprecated.
Use
TextField#sortableUNF(). |
TextField |
weight(double weight)
Declares the importance of this attribute when calculating result accuracy.
|
TextField |
withSuffixTrie()
Keeps a suffix trie with all terms which match the suffix.
|
getFieldName, getNamepublic TextField(java.lang.String fieldName)
public TextField(FieldName fieldName)
public static TextField of(java.lang.String fieldName)
public TextField as(java.lang.String attribute)
as in class SchemaFieldpublic TextField indexMissing()
public TextField indexEmpty()
public TextField weight(double weight)
weight - public TextField noStem()
public TextField phonetic(java.lang.String matcher)
matcher - public TextField withSuffixTrie()
public TextField sortable()
public TextField sortableUNF()
@Deprecated public TextField sortableUnNormalizedForm()
TextField#sortableUNF().sortableUNF()public TextField noIndex()
public void addParams(CommandArguments args)
Copyright © 2025. All rights reserved.