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

Changeset 264

Show
Ignore:
Timestamp:
11/14/07 09:22:09 (1 year ago)
Author:
jk
Message:

add testcase for custom analyzer

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/demo/app/models/comment.rb

    r263 r264  
    1616  acts_as_ferret( :store_class_name => true,  
    1717                  :remote           => ENV['AAF_REMOTE'] == 'true',  # for testing drb remote indexing 
    18                   :additional_fields => { 
    19                     :added => { :index => :untokenized, :store => :yes, :ignore => true } 
     18                  :fields => { 
     19                    :content => { :store => :yes }, 
     20                    :author  => { }, 
     21                    :added   => { :index => :untokenized, :store => :yes, :ignore => true } 
    2022                  }, :ferret => { :analyzer => Ferret::Analysis::StandardAnalyzer.new(['fax', 'gsm', 'the', 'or']) } ) 
    2123 

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