File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed 
rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 3434          settings :
3535            index :
3636              number_of_shards : 1 
37-               number_of_replicas : 0 
3837            analysis :
3938              filter :
4039                my_synonym_filter :
6867          settings :
6968            index :
7069              number_of_shards : 1 
71-               number_of_replicas : 0 
7270            analysis :
7371              filter :
7472                my_synonym_filter :
9593          - ' {"index": {"_index": "my_index2", "_id": "2"}}' 
9694          - ' {"my_field": "goodbye"}' 
9795
98- 
9996  #  An update of synonyms_set1 must trigger auto-reloading of analyzers only for synonyms_set1
10097  - do :
10198      synonyms.put_synonym :
105102            - synonyms : " hello, salute" 
106103            - synonyms : " ciao => goodbye" 
107104  - match : { result: "updated" } 
108-   - match : { reload_analyzers_details._shards.total: 2 }  #  shard requests are still sent to 2 indices
109-   - match : { reload_analyzers_details._shards.successful: 2 } 
105+   - gt : { reload_analyzers_details._shards.total: 0 } 
106+   - gt : { reload_analyzers_details._shards.successful: 0 } 
107+   - match : { reload_analyzers_details._shards.failed: 0 } 
110108  - length : { reload_analyzers_details.reload_details: 1 }  #  reload details contain only a single index
111109  - match : { reload_analyzers_details.reload_details.0.index: "my_index1" } 
112110  - match : { reload_analyzers_details.reload_details.0.reloaded_analyzers.0: "my_analyzer1" } 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments