Gents,

I successfully installed AAF on my TextDrive OpenSolaris Container, but
I'm having some issues with indexing.

I have a model called Blogs which has AAF enabled.

The first time I tried to find_by_contents for a 'word' I know was on
the Database  I got now results. Apparently the index was not ready yet.
Then I waited a few hours and checked that the /index directory was
receiving no changes, so the indexing was not happening also.

Then I tried to re-index and I got the following error after a few hours
of work:

>> Blog.rebuild_index

IOError: IO Error occured at <except.c>:79 in xraise
Error occured in fs_store.c:324 - fs_open_input
        couldn't create InStream
script/../config/../config/../index/production/blog/_73j.fdx: <No such
file or directory>
        from
/opt/csw/lib/ruby/gems/1.8/gems/ferret-0.10.14/lib/ferret/index.rb:273:in
`delete'
        from
/opt/csw/lib/ruby/gems/1.8/gems/ferret-0.10.14/lib/ferret/index.rb:273:in
`<<'
        from /opt/csw/lib/ruby/1.8/monitor.rb:229:in `synchronize'
        from
/opt/csw/lib/ruby/gems/1.8/gems/ferret-0.10.14/lib/ferret/index.rb:256:in
`<<'
        from
./script/../config/../config/../vendor/plugins/acts_as_ferret/lib/class_methods.rb:199:in
`rebuild_index'
        from
./script/../config/../config/../vendor/plugins/acts_as_ferret/lib/class_methods.rb:198:in
`rebuild_index'
        from
./script/../config/../config/../vendor/plugins/acts_as_ferret/lib/class_methods.rb:197:in
`rebuild_index'
        from
/opt/csw/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/abstract/database_statements.rb:51:in
`transaction'
        from
/opt/csw/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/transactions.rb:91:in
`transaction'
        from
./script/../config/../config/../vendor/plugins/acts_as_ferret/lib/class_methods.rb:196:in
`rebuild_index'
        from
./script/../config/../config/../vendor/plugins/acts_as_ferret/lib/class_methods.rb:194:in
`rebuild_index'
        from (irb):9

  Again, it seems that the index is incomplete and is bringing partial
results.

  Any suggestions on what to do?

  PS:. During the indexing, there is nothing being queried on the DB,
actually the unique thing running on that DB was the console where I
runned the rebuild_index.

  Thanks in advance.

Manoel Lemos

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

Reply via email to