struct Elasticsearch::Client::QueryString
- Elasticsearch::Client::QueryString
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
client.crConstructors
- .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)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #allow_leading_wildcard : Bool | Nil
- #analyze_wildcard : Bool | Nil
- #analyzer : String | Nil
- #auto_generate_synonyms_phrase_query : Bool | Nil
- #boost : Float64 | Nil
- #clone
- #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)
- #default_field : String | Nil
- #default_operator : String | Nil
- #enable_position_increments : Bool | Nil
- #fields : Array(String) | Nil
- #fuzziness : String | Nil
- #fuzzy_max_expansions : Int32 | Nil
- #fuzzy_prefix_length : Int32 | Nil
- #fuzzy_transpositions : Bool | Nil
- #lenient : Bool | Nil
- #max_determinized_states : Int32 | Nil
- #minimum_should_match : String | Nil
- #phrase_slop : Int32 | Nil
- #query : String
- #quote_analyzer : String | Nil
- #quote_field_suffix : String | Nil
- #rewrite : String | Nil
- #time_zone : String | Nil
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)
#
Instance Method Detail
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)
#