lib/riddle/configuration/index_settings.rb in riddle-1.5.8 vs lib/riddle/configuration/index_settings.rb in riddle-1.5.9

- old
+ new

@@ -11,11 +11,13 @@ :expand_keywords, :ngram_len, :ngram_chars, :phrase_boundary, :phrase_boundary_step, :blend_chars, :blend_mode, :html_strip, :html_index_attrs, :html_remove_elements, :preopen, :ondisk_dict, :inplace_enable, :inplace_hit_gap, :inplace_docinfo_gap, :inplace_reloc_factor, :inplace_write_factor, :index_exact_words, - :overshort_step, :stopwords_step, :hitless_words + :overshort_step, :stopwords_step, :hitless_words, :ha_strategy, + :bigram_freq_words, :bigram_index, :index_field_lengths, + :regexp_filter, :stopwords_unstemmed, :global_idf ] end attr_accessor :name, :type, :path, :docinfo, :mlock, :morphologies, :dict, :index_sp, :index_zones, :min_stemming_len, @@ -26,11 +28,13 @@ :ngram_characters, :phrase_boundaries, :phrase_boundary_step, :blend_chars, :blend_mode, :html_strip, :html_index_attrs, :html_remove_element_tags, :preopen, :ondisk_dict, :inplace_enable, :inplace_hit_gap, :inplace_docinfo_gap, :inplace_reloc_factor, :inplace_write_factor, :index_exact_words, :overshort_step, - :stopwords_step, :hitless_words + :stopwords_step, :hitless_words, :ha_strategy, :bigram_freq_words, + :bigram_index, :index_field_lengths, :regexp_filter, + :stopwords_unstemmed, :global_idf def initialize_settings @morphologies = [] @stopword_files = [] @wordform_files = [] @@ -39,9 +43,10 @@ @prefix_field_names = [] @infix_field_names = [] @ngram_characters = [] @phrase_boundaries = [] @html_remove_element_tags = [] + @regexp_filter = [] end def morphology nil_join @morphologies, ", " end