struct Elasticsearch::Client::QueryString

Included Modules

Defined in:

client.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(query : String, default_field : String | Nil = nil, allow_leading_wildcard : Bool | Nil = nil, analyze_wildcard : Bool | Nil = nil, analyzer : String | Nil = nil, auto_generate_synonyms_phrase_query : Bool | Nil = nil, boost : Float64 | Nil = nil, default_operator : String | Nil = nil, enable_position_increments : Bool | Nil = nil, fields : Array(String) | Nil = nil, fuzziness : String | Nil = nil, fuzzy_max_expansions : Int32 | Nil = nil, fuzzy_prefix_length : Int32 | Nil = nil, fuzzy_transpositions : Bool | Nil = nil, lenient : Bool | Nil = nil, max_determinized_states : Int32 | Nil = nil, minimum_should_match : String | Nil = nil, phrase_slop : Int32 | Nil = nil, quote_analyzer : String | Nil = nil, quote_field_suffix : String | Nil = nil, rewrite : String | Nil = nil, time_zone : String | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def allow_leading_wildcard : Bool | Nil #

def analyze_wildcard : Bool | Nil #

def analyzer : String | Nil #

def auto_generate_synonyms_phrase_query : Bool | Nil #

def boost : Float64 | Nil #

def clone #

[View source]
def copy_with(query _query = @query, default_field _default_field = @default_field, allow_leading_wildcard _allow_leading_wildcard = @allow_leading_wildcard, analyze_wildcard _analyze_wildcard = @analyze_wildcard, analyzer _analyzer = @analyzer, auto_generate_synonyms_phrase_query _auto_generate_synonyms_phrase_query = @auto_generate_synonyms_phrase_query, boost _boost = @boost, default_operator _default_operator = @default_operator, enable_position_increments _enable_position_increments = @enable_position_increments, fields _fields = @fields, fuzziness _fuzziness = @fuzziness, fuzzy_max_expansions _fuzzy_max_expansions = @fuzzy_max_expansions, fuzzy_prefix_length _fuzzy_prefix_length = @fuzzy_prefix_length, fuzzy_transpositions _fuzzy_transpositions = @fuzzy_transpositions, lenient _lenient = @lenient, max_determinized_states _max_determinized_states = @max_determinized_states, minimum_should_match _minimum_should_match = @minimum_should_match, phrase_slop _phrase_slop = @phrase_slop, quote_analyzer _quote_analyzer = @quote_analyzer, quote_field_suffix _quote_field_suffix = @quote_field_suffix, rewrite _rewrite = @rewrite, time_zone _time_zone = @time_zone) #

[View source]
def default_field : String | Nil #

def default_operator : String | Nil #

def enable_position_increments : Bool | Nil #

def fields : Array(String) | Nil #

def fuzziness : String | Nil #

def fuzzy_max_expansions : Int32 | Nil #

def fuzzy_prefix_length : Int32 | Nil #

def fuzzy_transpositions : Bool | Nil #

def lenient : Bool | Nil #

def max_determinized_states : Int32 | Nil #

def minimum_should_match : String | Nil #

def phrase_slop : Int32 | Nil #

def query : String #

def quote_analyzer : String | Nil #

def quote_field_suffix : String | Nil #

def rewrite : String | Nil #

def time_zone : String | Nil #