> I might be wrong but this doesn't look ok to me, because it prevents
> the change the index class intends to make to the index from being
> written.

As a completely ruby/rails/ferret newbie I also thought that my try was 
wrong but I had to try ;)

> I have a patch (http://pastie.caboo.se/10032) for ferret's index.rb file
> that fixes this issue by adding ensure_writer_open() before the line in
> question, which initializes the @writer variable if it's not already
> present.

Thanks for your patch! I will apply it until the new gem release.

> I think Dave will release a fixed gem soon, so the patch won't be
> necessary for a long time.

I hope so :)

> As of Ferret 0.10, you should use symbols only as field names.

Great tip! Thank you very much Jens!

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

Reply via email to