ml-commons
                                
                                
                                
                                    ml-commons copied to clipboard
                            
                            
                            
                        [Feature/multi_tenancy] Make tenant awareness setting static
Description
Removes the ability to change the value of the mutiTenancy setting: it must be initialized in opensearch.yml.
Two other small changes:
- When multiTenancy was false (which is was while I was figuring out how to set it), Remote client search didn't include the index name, thus returning every document in the cluster/collection.
 - improved performance of removing the dot from a system index name from a match-all regex to substring, since I briefly thought this could be a problem when debugging the bug above
 
Check List
- [x] New functionality includes testing.
 - [x] Commits are signed per the DCO using 
--signoff. 
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.