Package com.enonic.xp.query.suggester
Class TermSuggestionQuery
- java.lang.Object
-
- com.enonic.xp.query.suggester.SuggestionQuery
-
- com.enonic.xp.query.suggester.TermSuggestionQuery
-
public final class TermSuggestionQuery extends SuggestionQuery
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTermSuggestionQuery.Builderstatic classTermSuggestionQuery.Sortstatic classTermSuggestionQuery.StringDistancestatic classTermSuggestionQuery.SuggestMode
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TermSuggestionQuery.Buildercreate(String name)IntegergetMaxEdits()IntegergetMaxInspections()FloatgetMaxTermFreq()FloatgetMinDocFreq()IntegergetMinWordLength()IntegergetPrefixLength()TermSuggestionQuery.SortgetSort()TermSuggestionQuery.StringDistancegetStringDistance()TermSuggestionQuery.SuggestModegetSuggestMode()StringtoString()-
Methods inherited from class com.enonic.xp.query.suggester.SuggestionQuery
doToString, getAnalyzer, getField, getName, getSize, getText
-
-
-
-
Method Detail
-
getSort
public TermSuggestionQuery.Sort getSort()
-
getSuggestMode
public TermSuggestionQuery.SuggestMode getSuggestMode()
-
getMaxEdits
public Integer getMaxEdits()
-
getPrefixLength
public Integer getPrefixLength()
-
getMinWordLength
public Integer getMinWordLength()
-
getMaxInspections
public Integer getMaxInspections()
-
getMinDocFreq
public Float getMinDocFreq()
-
getMaxTermFreq
public Float getMaxTermFreq()
-
getStringDistance
public TermSuggestionQuery.StringDistance getStringDistance()
-
create
public static TermSuggestionQuery.Builder create(String name)
-
-