-
- All Implemented Interfaces:
-
com.jillesvangurp.eskotlinwrapper.IMapBackedProperties
,kotlin.collections.Map
,kotlin.collections.MutableMap
public final class SimpleQueryStringQuery extends ESQuery
-
-
Field Summary
Fields Modifier and Type Field Description private final String
query
private final Array<String>
fields
private String
defaultField
private Boolean
allFields
private String
flags
private Boolean
analyzeWildcard
private String
analyzer
private Boolean
autoGenerateSynonymsPhraseQuery
private String
fuzziness
private Boolean
fuzzyTranspositions
private Integer
fuzzyMaxExpansions
private Integer
fuzzyPrefixLength
private Boolean
lenient
private MatchOperator
defaultOperator
private String
minimumShouldMatch
private String
quoteFieldSuffix
private final String
name
private final MapBackedProperties
queryDetails
private final Set<Entry.Map<String, Object>>
entries
private final Set<String>
keys
private final Integer
size
private final Collection<Object>
values
-
Constructor Summary
Constructors Constructor Description SimpleQueryStringQuery(String query, String fields, Function1<SimpleQueryStringQuery, Unit> block)
-
Method Summary
-
Methods inherited from class com.jillesvangurp.eskotlinwrapper.dsl.SimpleQueryStringQuery
toMap
-
Methods inherited from class com.jillesvangurp.eskotlinwrapper.dsl.ESQuery
putNoSnakeCase
-
Methods inherited from class com.jillesvangurp.eskotlinwrapper.IMapBackedProperties
clear, compute, computeIfAbsent, computeIfPresent, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll
-
Methods inherited from class kotlin.collections.MutableMap
containsKey, containsValue, forEach, get, getOrDefault, isEmpty
-
Methods inherited from class kotlin.collections.Map
equals, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
SimpleQueryStringQuery
SimpleQueryStringQuery(String query, String fields, Function1<SimpleQueryStringQuery, Unit> block)
-
-
Method Detail
-
getDefaultField
final String getDefaultField()
-
getAllFields
final Boolean getAllFields()
-
getAnalyzeWildcard
final Boolean getAnalyzeWildcard()
-
getAnalyzer
final String getAnalyzer()
-
getAutoGenerateSynonymsPhraseQuery
final Boolean getAutoGenerateSynonymsPhraseQuery()
-
getFuzziness
final String getFuzziness()
-
getFuzzyTranspositions
final Boolean getFuzzyTranspositions()
-
getFuzzyMaxExpansions
final Integer getFuzzyMaxExpansions()
-
getFuzzyPrefixLength
final Integer getFuzzyPrefixLength()
-
getLenient
final Boolean getLenient()
-
getDefaultOperator
final MatchOperator getDefaultOperator()
-
getMinimumShouldMatch
final String getMinimumShouldMatch()
-
getQuoteFieldSuffix
final String getQuoteFieldSuffix()
-
getQueryDetails
final MapBackedProperties getQueryDetails()
-
getEntries
Set<Entry.Map<String, Object>> getEntries()
-
getValues
Collection<Object> getValues()
-
setDefaultField
final Unit setDefaultField(String defaultField)
-
setAllFields
final Unit setAllFields(Boolean allFields)
-
setAnalyzeWildcard
final Unit setAnalyzeWildcard(Boolean analyzeWildcard)
-
setAnalyzer
final Unit setAnalyzer(String analyzer)
-
setAutoGenerateSynonymsPhraseQuery
final Unit setAutoGenerateSynonymsPhraseQuery(Boolean autoGenerateSynonymsPhraseQuery)
-
setFuzziness
final Unit setFuzziness(String fuzziness)
-
setFuzzyTranspositions
final Unit setFuzzyTranspositions(Boolean fuzzyTranspositions)
-
setFuzzyMaxExpansions
final Unit setFuzzyMaxExpansions(Integer fuzzyMaxExpansions)
-
setFuzzyPrefixLength
final Unit setFuzzyPrefixLength(Integer fuzzyPrefixLength)
-
setLenient
final Unit setLenient(Boolean lenient)
-
setDefaultOperator
final Unit setDefaultOperator(MatchOperator defaultOperator)
-
setMinimumShouldMatch
final Unit setMinimumShouldMatch(String minimumShouldMatch)
-
setQuoteFieldSuffix
final Unit setQuoteFieldSuffix(String quoteFieldSuffix)
-
-
-
-