Jens Kraemer wrote:
> I could change the way rebuild_index works so that it uses and
> initializes the Ferret index instance returned by ferret_index. So you
> could access the index instance in to_doc when being called by
> rebuild_index, too.

That sounds good.

The other thing I noticed was that if you wanted to create a field that 
is created by rebuild_index, but isn't actually put in there by the 
standard to_doc you can specifiy the fields along with :ignore => true, 
for example { :index => :untokenized, :ignore => true }. I want to do 
this as there is a field that I want to include many times on a 
document, and returning an array from foo_for_ferret didn't add a field 
for each.

David, are you supposed to be able to set several values for a field in 
the document?

Thanks for all you guy's support.

David

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to