On 4/13/07, Erik Morton <[EMAIL PROTECTED]> wrote:
> Thanks Dave. I'm still getting the same error after making that
> change. I'm using Ferret 0.11.3 on OSX. Thanks again.
Hi Erik,
Could you please try the following code and let me know if it works;
require 'rubygems'
require 'ferret'
$fi = <<-EOF
default:
store: :yes
index: :yes
term_vector: :no
fields:
id:
index: :untokenized
term_vector: :no
title:
boost: 20.0
term_vector: :no
content:
term_vector: :with_positions_offsets
EOF
include Ferret::Index
@index_writer = Ferret::Index::IndexWriter.new(
:create => true,
:analyzer => Ferret::Analysis::StandardAnalyzer.new,
:merge_count => 2,
:field_infos => FieldInfos.load($fi))
--
Dave Balmain
http://www.davebalmain.com/
_______________________________________________
Ferret-talk mailing list
[EMAIL PROTECTED]
http://rubyforge.org/mailman/listinfo/ferret-talk