com
.
sksamuel
.
elastic4s
.
searches
suggestions
package
suggestions
Visibility
Public
All
Type Members
case class
CompletionSuggestionDefinition
(
name:
String
,
fieldname:
String
,
prefix:
Option
[
String
] =
None
,
regex:
Option
[
String
] =
None
,
regexOptions:
Option
[
RegexOptions
] =
None
,
analyzer:
Option
[
String
] =
None
,
size:
Option
[
Int
] =
None
,
fuzziness:
Option
[
Fuzziness
] =
None
,
shardSize:
Option
[
Int
] =
None
,
text:
Option
[
String
] =
None
)
extends
SuggestionDefinition
with
Product
with
Serializable
case class
CompletionSuggestionEntry
(
entry:
Entry
)
extends
SuggestionEntry
with
Product
with
Serializable
case class
CompletionSuggestionResult
(
suggestion:
CompletionSuggestion
)
extends
SuggestionResult
with
Product
with
Serializable
case class
PhraseSuggestionDefinition
(
name:
String
,
fieldname:
String
,
analyzer:
Option
[
String
] =
None
,
candidateGenerator:
Option
[
CandidateGenerator
] =
None
,
collateParams:
Map
[
String
,
AnyRef
] =
Map.empty
,
collatePrune:
Option
[
Boolean
] =
None
,
collateQuery:
Option
[
Script
] =
None
,
confidence:
Option
[
Float
] =
None
,
forceUnigrams:
Option
[
Boolean
] =
None
,
gramSize:
Option
[
Int
] =
None
,
preTag:
Option
[
String
] =
None
,
postTag:
Option
[
String
] =
None
,
maxErrors:
Option
[
Float
] =
None
,
realWordErrorLikelihood:
Option
[
Float
] =
None
,
separator:
Option
[
String
] =
None
,
smoothingModel:
Option
[
SmoothingModel
] =
None
,
tokenLimit:
Option
[
Int
] =
None
,
size:
Option
[
Int
] =
None
,
shardSize:
Option
[
Int
] =
None
,
text:
Option
[
String
] =
None
)
extends
SuggestionDefinition
with
Product
with
Serializable
case class
PhraseSuggestionEntry
(
entry:
Entry
)
extends
SuggestionEntry
with
Product
with
Serializable
case class
PhraseSuggestionResult
(
suggestion:
PhraseSuggestion
)
extends
SuggestionResult
with
Product
with
Serializable
case class
SuggestResult
(
suggestions:
Seq
[
SuggestionResult
]
,
suggest:
Suggest
)
extends
Product
with
Serializable
trait
SuggestionDsl
extends
AnyRef
trait
SuggestionEntry
extends
AnyRef
case class
SuggestionOption
(
text:
String
,
score:
Double
,
highlighted:
Option
[
String
]
,
collateMatch:
Boolean
)
extends
Product
with
Serializable
trait
SuggestionResult
extends
AnyRef
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
case class
TermSuggestionEntry
(
entry:
Entry
)
extends
SuggestionEntry
with
Product
with
Serializable
case class
TermSuggestionResult
(
suggestion:
TermSuggestion
)
extends
SuggestionResult
with
Product
with
Serializable
Value Members
object
SuggestResult
extends
Serializable
object
SuggestionOption
extends
Serializable
object
SuggestionResult
Ungrouped