public class TextIndex extends Expression implements HasExpression<TextIndex>, HasExtensions<TextIndex>, HasFieldReference<TextIndex>
| Modifier and Type | Class and Description |
|---|---|
static class |
TextIndex.CountHits |
static class |
TextIndex.LocalTermWeights |
| Constructor and Description |
|---|
TextIndex() |
TextIndex(Field<?> textField,
Expression expression) |
TextIndex(String textField,
Expression expression) |
getLocator, hasLocator, setLocator, traverse, traverse, traverse, traverse, traverseMixedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetFieldpublic TextIndex()
public TextIndex(String textField, Expression expression)
public TextIndex(Field<?> textField, Expression expression)
public String requireField()
requireField in interface HasFieldReference<TextIndex>public String requireTextField()
public String getField()
getField in interface HasFieldReference<TextIndex>public TextIndex setField(String field)
setField in interface HasFieldReference<TextIndex>public String getTextField()
public TextIndex.LocalTermWeights getLocalTermWeights()
public TextIndex setLocalTermWeights(TextIndex.LocalTermWeights localTermWeights)
public boolean isCaseSensitive()
public Integer getMaxLevenshteinDistance()
public TextIndex setMaxLevenshteinDistance(Integer maxLevenshteinDistance)
public TextIndex.CountHits getCountHits()
public TextIndex setCountHits(TextIndex.CountHits countHits)
public String getWordSeparatorCharacterRE()
public TextIndex setWordSeparatorCharacterRE(String wordSeparatorCharacterRE)
public String getWordRE()
public boolean isTokenize()
public boolean hasExtensions()
hasExtensions in interface HasExtensions<TextIndex>public List<Extension> getExtensions()
getExtensions in interface HasExtensions<TextIndex>public TextIndex addExtensions(Extension... extensions)
addExtensions in interface HasExtensions<TextIndex>public boolean hasTextIndexNormalizations()
public List<TextIndexNormalization> getTextIndexNormalizations()
public TextIndex addTextIndexNormalizations(TextIndexNormalization... textIndexNormalizations)
public Expression requireExpression()
requireExpression in interface HasExpression<TextIndex>public Expression getExpression()
getExpression in interface HasExpression<TextIndex>public TextIndex setExpression(Expression expression)
setExpression in interface HasExpression<TextIndex>public VisitorAction accept(Visitor visitor)
Copyright © 2022. All rights reserved.