package
0.4.5
Repository: https://github.com/luongduc1246/ultility.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
Phân tích câu query all_of câu query có all_of{filter{...},intervals[{...},{...}]} */.
Phân tích câu query any_of ...{filter{}} */.
Phân tích câu query bool câu query có dạng bool{filter[{...},{...}}],must[{...}],...} */.
Phân tích câu query Boosting Câu query có dạng boosting{negative{...},positive{...},...} */.
phân tích câu query collapse ...{collapse[...],slice_inner_hits[inner_hits[...]]] */.
Phân tích câu query combined_fields combined_fields{boost:3,fields[a,b,d]} */.
Phân tích câu query constantscore Câu query có dạng constant_score{filter{...},...} */.
phân tích câu query custom của analyzer custom{char_filter[]...} */.
phân tích date query : date{decay_function_base{},multi_value_mode:testmode} */.
Phân tích câu query date cua range {date{boost:float32,field:string,origin:string,pivot:string,_name:string}} */.
Phân tích câu query date cua range {date{...}} */.
Phân tích exp,gauss,linear(decayfunction) các dạng decayfunction - untyped{} - date{} - numeric{} - geo{} */.
phân tích decay_function_base decay_function_base{fields{decay:...}} */.
No description provided by the author
No description provided by the author
No description provided by the author
Phân tích câu query dismax Câu query có dạng dis_max{queries[{...}],...} */.
# distance_feature{parameters} parameters : 1.
phân tích câu query doc_value_fields doc_value_fields[{field:abc,format:abc},{...}] */.
phân tích câu query dutch cua analyzer dutch{...} */.
Phân tích câu query exists exists{boost:3,...} */.
phân tích câu query field_and_format ...{field=abc,format=abc} */.
Phân tích câu query FieldLookup của TermsQueryField ...{id:string,index:string,path:string,routing:string} */.
No description provided by the author
phân tích câu query finger_print cua analyzer finger_print{...} */.
No description provided by the author
Phân tích trường function_score trong Functions trong FunctionScoreQuery functions[{...},{...}] */.
Phân tích câu query fuction_score Câu query có dạng function_score{query{...},functions[{exp{...}],...} */.
Phân tích câu query fuzzy fuzzy{anylyzer:true,...} */.
No description provided by the author
Phân tích GeoDistanceSort của sort sort[{_geo_distance}] */.
Phân tích câu query geo cua range {geo{boost:float32,field:string,origin:geolocation,pivot:string,_name:string}} - geolocation : * {geohash:string} * {lat:float64,lon:float64} * [float64,float64...] * string */.
Phân tích câu query geo_distance_sort geo_distance_sort{keys[...],fields[...]} */.
Phân tích câu query GeoLocation geo_distance_sort geo_distance_sort{keys[string,string]} hoặc ...{keys[{latlon},{geohash}]} hoặc ...{keys[[12,65,45],[45,54,54]]} */.
Phân tích câu query has_child câu query có dạng has_child{boost=3,...} */.
Phân tích câu query has_child has_child{boost=3,...} */.
phân tích câu query highlight highlight{options{a:b,b:c}} */.
Phân tích analyzer của highlight highlight_analyzer{custom{}...},...} các dạng highlight_analyzer - custom - finger_print - keyword - language - nori - pattern - simple - standar - stop - white_space - icu - kuromoji - snow_ball - dutch */.
Phân tích câu query hightlight_fields * ...{analyzer{}} */.
phân tích câu query icu cua analyzer icu{...} */.
Phân tích câu query ids ids{boost:3,...} */.
Phân tích câu query inner_hits inner_hits{docvalue_fields[{...},{...}],script_fields{fields{...},message{...}}} */.
Phân tích câu query intervals trong all_of,after,..
Phân tích câu filter nằm trong macth của intervals,all_of..
Phân tích câu query fuzzy câu query có dạng ...{...} */.
Phân tích câu query match trong intervals ...{...} */.
Phân tích câu query prefix trong intervals ...{...} */.
Phân tích câu query intervals câu query có dạng intervals{fields{all_of{...}}} */.
Phân tích câu query wildcard trong intervals ...{...} */.
phân tích câu query keyword cua analyzer keyword{...} */.
phân tích câu query kuromoji analyzer query có dạng icu_analyzer[...] */.
phân tích câu query language cua analyzer language{...} */.
# like[index] index: - string - query(like document) */.
{...parameters} *parameters: - doc : string (json.RawMessage) - fields : []string *fields[nam,nu] - _id : string - _index : string - per_field_analyzer : map[string]string *per_field_analyzer{field:ba,fell:bon} - version : int64 - version_type : string */.
No description provided by the author
Phân tích câu query terms_query term{field{terms_query{id:string,index:string,path:string,routing:string}}} hoặc term{field{terms_query[string,int64,json.RawMessage...]}} */.
Phân tích câu query match_bool_prefix query có dạng match_bool_prefix{anylyzer:true} */.
Phân tích câu query match_phrase_prefix query có dạng match_phrase_prefix{anylyzer:true} */.
Phân tích câu query match_phrase query có dạng match_phrase{anylyzer:true} */.
Phân tích câu query match query có dạng match{anylyzer:true,...} */.
more_like_this{...parameters} parameters: - anylyzer : string - boost : float32 - boost_terms : float64 - fail_on_unsupported_field : bool - fields : []string * [david,madam] - include : bool - like : []interface{} - interface{} có thể là string hoặc querier (LikeDocument) - max_doc_freq : int - max_query_terms : int - max_word_length : int - min_doc_freq : int - min_term_freq : int - min_word_length : int - minimum_should_match : string - _name : string - routing : string - stop_words : []string * [david,madam] - unlike : []interface{} - interface{} có thể là string hoặc querier (LikeDocument) - version : int64 - version_type : string */.
Phân tích câu query multi_match multi_match{boost:3,fields=[a,b,d]} */.
Phân tích câu query nested câu query có dạng nested{boost=3,...} */.
phân tích câu query nested cua _geo_distance ...{nested{...}} */.
phân tích câu query nori cua analyzer nori{...} */.
Phân tích câu query number cua range {number{...}} */.
No description provided by the author
No description provided by the author
No description provided by the author
phân tích câu query pattern cua analyzer pattern{...} */.
percolate{...parameters} *parameters: - boost : float32 - document : string (json.RawMessage) - documents : []string(json.RawMessage) *documents[nam,nu] - id : string - field : string - index : string - name : string - preference : string - _name : string - version : int64 - version_type : string */.
No description provided by the author
No description provided by the author
Phân tích câu query prefix prefix{field{anylyzer:true,...}} */.
Phân tích câu query query_string câu query có dạng query_string{boost:3,fields[a,b,d]} */.
No description provided by the author
No description provided by the author
Phân tích câu query range range{fields{type_of_range}} */.
rank_feature{...parameters} parameters: - boost : float32 - field : string - linear : query linear{} - log : query *log{scaling_factor:float32} - _name : string - saturation : query *saturation{pivot:float32} - sigmoid : query *sigmoid{pivot:float32,exponent:float32} */.
Phân tích câu query regexp regexp{field{anylyzer:true,...}} */.
No description provided by the author
No description provided by the author
Phân tích ScoreSort của sort sort[{_doc},{_score}] */.
Phân tích câu query script câu query có dạng ...{id:3,lang:vn,...} */.
Phân tích câu query script_field ...{ignore_failure:false,script{id:3,...}} */.
script{...parameters} parameters: - boost : float32 - _name : string - script : query *script{id:string,...} */.
phân tích script_score query có dạng script_score{script{...}} */.
script_score{...parameters} parameters: - boost : float32 - min_score : float32 - query : query - _name : string - script : query *script{id:string,...} */.
Phân tích _script của sort sort[{_script{...}}] */.
No description provided by the author
phân tích câu query simple cua analyzer simple{...} */.
Phân tích câu query simple_query_string simple_query_string{boost=3,...} */.
Phân tích sort cua inner_hits sort[false,true] hoặc sort[{...},{...}] */.
phân tích câu query snowball cua analyzer snowball{...} */.
Phân tích sortOptions của sort sort[{...},{...}] */.
No description provided by the author
Phân tích _source cua inner_hits _source[false,true] hoặc _source[{...},{...}] */.
phân tích câu query standar cua analyzer standar{...} */.
phân tích câu query stop cua analyzer stop{...} */.
Phân tích câu query term term{field{boost:3,...}} */.
Phân tích câu query term cua range {term{...}} */.
Phân tích câu query terms terms{boost:3,...} */.
Phân tích câu query terms_set terms_set{field{boost:3,...}} */.
No description provided by the author
#Phân tích câu query untyped cua range {untyped{boost:float32,field:string,origin:json.RawMessage,pivot:string,_name:string}} */.
Phân tích câu query untyped cua range {untyped{...}} */.
phân tích câu query white_space cua analyzer white_space{...} */.
Phân tích câu query wildcard wildcard{field{boost:3,...}} */.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author