On 4/9/07, Stephen Sykes <[EMAIL PROTECTED]> wrote:
> I am trying to use highlight, but I am getting this kind of thing:
>
> /usr/local/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:197:in
> `highlight': IO Error occured at <except.c>:93 in xraise (IOError)
> Error occured in index.c:1222 - lazy_df_get_bytes
>         len = -5, but should be greater than 0
>
>         from
> /usr/local/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:197:in
> `highlight'
>         from /usr/local/lib/ruby/1.8/monitor.rb:238:in `synchronize'
>         from
> /usr/local/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:195:in
> `highlight'
>         from test.rb:25
>         from
> /usr/local/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:385:in
> `search_each'
>         from
> /usr/local/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:384:in
> `search_each'
>         from /usr/local/lib/ruby/1.8/monitor.rb:238:in `synchronize'
>         from
> /usr/local/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:380:in
> `search_each'
>         from test.rb:22
>
>
> ..as well as segfaults sometimes.
>
> Any ideas?  My index is about 130Mb, but I can try to make some test
> case if needed.

Hi Stephen,

A test case would be great. If you can give me one I'll get to work on
it right away.

Cheers,
Dave

-- 
Dave Balmain
http://www.davebalmain.com/
_______________________________________________
Ferret-talk mailing list
[EMAIL PROTECTED]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to