public class TextField extends SchemaField
fieldName
Constructor and Description |
---|
TextField(FieldName fieldName) |
TextField(String fieldName) |
Modifier and Type | Method and Description |
---|---|
void |
addParams(CommandArguments args) |
TextField |
as(String attribute) |
TextField |
noIndex()
Avoid indexing.
|
TextField |
noStem()
Disable stemming when indexing.
|
static TextField |
of(FieldName fieldName) |
static TextField |
of(String fieldName) |
TextField |
phonetic(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() |
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.
|
public TextField(String fieldName)
public TextField(FieldName fieldName)
public TextField as(String attribute)
as
in class SchemaField
public TextField sortable()
public TextField sortableUNF()
public TextField sortableUnNormalizedForm()
sortableUNF()
public TextField noStem()
public TextField noIndex()
public TextField weight(double weight)
public TextField withSuffixTrie()
public void addParams(CommandArguments args)
Copyright © 2022. All rights reserved.