Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > FastRI, Error on full-text search

Reply
Thread Tools

FastRI, Error on full-text search

 
 
Daniel Schömer
Guest
Posts: n/a
 
      05-04-2008
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
search web part security error net 2008 search server express cindy ASP .Net 0 08-14-2009 08:51 PM
removing search engines from the search bar whatever.or.not@gmail.com Firefox 1 02-17-2005 12:06 PM
Search Bar not displaying search Engines Zimran Douglas Firefox 1 01-07-2005 02:30 PM
search within a search within a search - looking for better way...my script times out Abby Lee ASP General 5 08-02-2004 04:01 PM



Advertisments