class Tagliani::Configuration::Schema
Public Class Methods
new()
click to toggle source
# File lib/tagliani/configuration/schema.rb, line 4 def initialize self.default = whiteseparated_tags end
Private Instance Methods
analysis_settings()
click to toggle source
# File lib/tagliani/configuration/schema.rb, line 10 def analysis_settings { analysis: { analyzer: { gossipAnalyzer: { type: 'custom', tokenizer: 'whitespace', char_filter: %w[dot_remover coma_separator], filter: ['lowercase'] } }, char_filter: { dot_remover: { type: 'pattern_replace', pattern: '\.', replacement: '' }, coma_separator: { type: 'pattern_replace', pattern: '\,', replacement: ' ' } } } } end