To edit pages or tickets please login with username/password: aaf/aaf

Ticket #145 (new enhancement)

Opened 1 year ago

Dynamic Analyzer construction

Reported by: jk Assigned to: jk
Priority: major Milestone: later
Component: 0plugin Version:
Keywords: Cc:

Description

Allow a combination of standard tokenizers and filters to be specified declaratively in the acts_as_ferret call, both globally as a default and on a per field basis:

acts_as_ferret :fields => {
  :title => { 
    :analyzer => [ :standard_tokenizer => [], 
                   :stem_filter => 'de', 
                   :lowercase_filter => [] ]
  },
  :content => { }
}, :analyzer => StandardAnalyzer.new

Also integrate an IntegerAnalyzer? suitable for preprocessing numeric content to be used in RangeQueries?.

To edit pages or tickets please login with username/password: aaf/aaf