lib/elasticsearch_indices.rb
Method initialize
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def initialize
index_content = {
cacheable: {type: 'boolean'},
content: {type: 'string', index: 'not_analyzed'},
domain: {type: 'string', index: 'not_analyzed'},