FastRI, Error on full-text search

  • Thread starter Daniel Schömer
  • Start date
D

Daniel Schömer

Hi,

every time I use FastRI's full-text search, I get an error:

# fastri-server -b
Indexing RI docs for fastri version 0.3.1.1.
Indexing RI docs for rubygems version 1.1.1.
Building index.
Indexed:
* 9065 methods
* 1584 classes/modules
Needed 1.26779 seconds

# fastri-server -B
Indexing RI docs for fastri version 0.3.1.1.
Indexing RI docs for rubygems version 1.1.1.

# qri --no-pager -S sort
/usr/lib/ruby/gems/1.8/gems/fastri-0.3.1.1/lib/fastri/full_text_index.rb:209:in `load': marshal data too short (ArgumentError)
from /usr/lib/ruby/gems/1.8/gems/fastri-0.3.1.1/lib/fastri/full_text_index.rb:209:in `find_metadata'
from /usr/lib/ruby/gems/1.8/gems/fastri-0.3.1.1/lib/fastri/full_text_index.rb:195:in `loop'
from /usr/lib/ruby/gems/1.8/gems/fastri-0.3.1.1/lib/fastri/full_text_index.rb:195:in `find_metadata'
from /usr/lib/ruby/gems/1.8/gems/fastri-0.3.1.1/lib/fastri/full_text_index.rb:126:in `next_matches'
from /usr/lib/ruby/gems/1.8/gems/fastri-0.3.1.1/lib/fastri/full_text_index.rb:118:in `loop'
from /usr/lib/ruby/gems/1.8/gems/fastri-0.3.1.1/lib/fastri/full_text_index.rb:118:in `next_matches'
from /usr/lib/ruby/gems/1.8/gems/fastri-0.3.1.1/lib/fastri/full_text_index.rb:184:in `get_sarray_IO'
from /usr/lib/ruby/gems/1.8/gems/fastri-0.3.1.1/lib/fastri/full_text_index.rb:184:in `open'
... 8 levels...
from /usr/lib/ruby/gems/1.8/gems/fastri-0.3.1.1/bin/qri:229:in `perform_fulltext_search'
from /usr/lib/ruby/gems/1.8/gems/fastri-0.3.1.1/bin/qri:269
from /usr/bin/qri:19:in `load'
from /usr/bin/qri:19

I get this error no matter how many or which gems are installed.
Installing FastRI 0.3.1 from the tarball (and regenerating the
index) didn't made any difference.

Any ideas?

I'm running ruby 1.8.6 p114, rubygems 1.1.1 and fastri 0.3.1.1 on
Gentoo/Linux.

Daniel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,681
Members
48,796
Latest member
Greg L.

Latest Threads

Top