gitlab:elastic:info - add indexing restrictions status
Background
The rake task currently outputs important information for support and debugging of the Advanced Search feature.
Proposal
Report status of Indexing restrictions
checkbox from the Admin UI
Implementation plan
Note: You should have your development environment setup to have Elasticsearch and Advanced Search enabled
- in
elastic.rake
, find theinfo
task and add an output line that reportsIndexing restrictions enabled
using the ApplicationSettingelasticsearch_limit_indexing
puts "Indexing restrictions enabled:\t\t#{setting.elasticsearch_limit_indexing? ? "yes" : "no"}"
- add a new test in
ee/spec/tasks/gitlab/elastic_rake_spec.rb