chewy v0.2.2 Release Notes

    • Support for none scope ([@undr][]).
    • Auto-resolved analyzers and analyzers repository ([@webgago][]):

        # Setting up analyzers repository:
        Chewy.analyzer :title_analyzer, type: 'custom', filter: %w(lowercase icu_folding title_nysiis)
        Chewy.filter :title_nysiis, type: 'phonetic', encoder: 'nysiis', replace: false
      
        # Using analyzers from repository in index classes
        class ProductsIndex < Chewy::Index
          settings analysis: {analyzer: ['title_analyzer', {one_more_analyzer: {type: 'custom', tokenizer: 'lowercase'}}]}
        end
      

      title_analyzer here will be automatically resolved and passed to index mapping