File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 3838 settings :
3939 index :
4040 number_of_shards : 1
41- number_of_replicas : 0
4241 analysis :
4342 filter :
4443 my_synonym_filter :
7271 settings :
7372 index :
7473 number_of_shards : 1
75- number_of_replicas : 0
7674 analysis :
7775 filter :
7876 my_synonym_filter :
9997 - ' {"index": {"_index": "my_index2", "_id": "2"}}'
10098 - ' {"my_field": "goodbye"}'
10199
102-
103100 # An update of synonyms_set1 must trigger auto-reloading of analyzers only for synonyms_set1
104101 - do :
105102 synonyms.put_synonym :
109106 - synonyms : " hello, salute"
110107 - synonyms : " ciao => goodbye"
111108 - match : { result: "updated" }
112- - match : { reload_analyzers_details._shards.total: 2 } # shard requests are still sent to 2 indices
113- - match : { reload_analyzers_details._shards.successful: 2 }
109+ - gte : { reload_analyzers_details._shards.total: 2 } # shard requests are still sent to 2 indices
110+ - gte : { reload_analyzers_details._shards.successful: 2 }
114111 - length : { reload_analyzers_details.reload_details: 1 } # reload details contain only a single index
115112 - match : { reload_analyzers_details.reload_details.0.index: "my_index1" }
116113 - match : { reload_analyzers_details.reload_details.0.reloaded_analyzers.0: "my_analyzer1" }
You can’t perform that action at this time.
0 commit comments