com
.
sksamuel
.
elastic4s
.
searches
.
suggestions
TermSuggestionDefinition
Related Doc:
package suggestions
case class
TermSuggestionDefinition
(
name:
String
,
fieldname:
String
,
accuracy:
Option
[
Double
] =
None
,
maxEdits:
Option
[
Int
] =
None
,
maxInspections:
Option
[
Int
] =
None
,
maxTermFreq:
Option
[
Double
] =
None
,
minDocFreq:
Option
[
Double
] =
None
,
minWordLength:
Option
[
Int
] =
None
,
prefixLength:
Option
[
Int
] =
None
,
sort:
Option
[
SortBy
] =
None
,
stringDistance:
Option
[
StringDistanceImpl
] =
None
,
suggestMode:
Option
[
SuggestMode
] =
None
,
analyzer:
Option
[
String
] =
None
,
size:
Option
[
Int
] =
None
,
shardSize:
Option
[
Int
] =
None
,
text:
Option
[
String
] =
None
)
extends
SuggestionDefinition
with
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
SuggestionDefinition
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
TermSuggestionDefinition
Serializable
Serializable
Product
Equals
SuggestionDefinition
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
TermSuggestionDefinition
(
name:
String
,
fieldname:
String
,
accuracy:
Option
[
Double
] =
None
,
maxEdits:
Option
[
Int
] =
None
,
maxInspections:
Option
[
Int
] =
None
,
maxTermFreq:
Option
[
Double
] =
None
,
minDocFreq:
Option
[
Double
] =
None
,
minWordLength:
Option
[
Int
] =
None
,
prefixLength:
Option
[
Int
] =
None
,
sort:
Option
[
SortBy
] =
None
,
stringDistance:
Option
[
StringDistanceImpl
] =
None
,
suggestMode:
Option
[
SuggestMode
] =
None
,
analyzer:
Option
[
String
] =
None
,
size:
Option
[
Int
] =
None
,
shardSize:
Option
[
Int
] =
None
,
text:
Option
[
String
] =
None
)
Type Members
type
B
=
TermSuggestionBuilder
Definition Classes
TermSuggestionDefinition
→ SuggestionDefinition
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
accuracy
(
accuracy:
Double
)
:
TermSuggestionDefinition
val
accuracy
:
Option
[
Double
]
def
analyzer
(
analyzer:
String
)
:
TermSuggestionDefinition
Definition Classes
TermSuggestionDefinition
→ SuggestionDefinition
val
analyzer
:
Option
[
String
]
Definition Classes
TermSuggestionDefinition
→ SuggestionDefinition
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
builder
:
B
Definition Classes
TermSuggestionDefinition
→ SuggestionDefinition
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
val
fieldname
:
String
Definition Classes
TermSuggestionDefinition
→ SuggestionDefinition
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
maxEdits
(
maxEdits:
Int
)
:
TermSuggestionDefinition
val
maxEdits
:
Option
[
Int
]
def
maxInspections
(
maxInspections:
Int
)
:
TermSuggestionDefinition
val
maxInspections
:
Option
[
Int
]
def
maxTermFreq
(
maxTermFreq:
Double
)
:
TermSuggestionDefinition
val
maxTermFreq
:
Option
[
Double
]
def
minDocFreq
(
minDocFreq:
Double
)
:
TermSuggestionDefinition
val
minDocFreq
:
Option
[
Double
]
def
minWordLength
(
minWordLength:
Int
)
:
TermSuggestionDefinition
val
minWordLength
:
Option
[
Int
]
def
mode
(
suggestMode:
SuggestMode
)
:
TermSuggestionDefinition
def
mode
(
suggestMode:
String
)
:
TermSuggestionDefinition
val
name
:
String
Definition Classes
TermSuggestionDefinition
→ SuggestionDefinition
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
populate
(
builder:
B
)
:
Unit
Definition Classes
SuggestionDefinition
def
prefixLength
(
prefixLength:
Int
)
:
TermSuggestionDefinition
val
prefixLength
:
Option
[
Int
]
def
shardSize
(
shardSize:
Int
)
:
TermSuggestionDefinition
Definition Classes
TermSuggestionDefinition
→ SuggestionDefinition
val
shardSize
:
Option
[
Int
]
Definition Classes
TermSuggestionDefinition
→ SuggestionDefinition
def
size
(
size:
Int
)
:
TermSuggestionDefinition
Definition Classes
TermSuggestionDefinition
→ SuggestionDefinition
val
size
:
Option
[
Int
]
Definition Classes
TermSuggestionDefinition
→ SuggestionDefinition
def
sort
(
sort:
SortBy
)
:
TermSuggestionDefinition
val
sort
:
Option
[
SortBy
]
def
stringDistance
(
dist:
StringDistanceImpl
)
:
TermSuggestionDefinition
def
stringDistance
(
dist:
String
)
:
TermSuggestionDefinition
val
stringDistance
:
Option
[
StringDistanceImpl
]
val
suggestMode
:
Option
[
SuggestMode
]
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
text
(
text:
String
)
:
TermSuggestionDefinition
Definition Classes
TermSuggestionDefinition
→ SuggestionDefinition
val
text
:
Option
[
String
]
Definition Classes
TermSuggestionDefinition
→ SuggestionDefinition
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
SuggestionDefinition
Inherited from
AnyRef
Inherited from
Any
Ungrouped