Displaying 20 results from an estimated 500 matches similar to: "Ferret 0.11.0 tests segfault"
2007 Mar 02
4
Sorted empty search bug
Hello Dave, Hello all,
I''ve got this error because I try to search something and sort it by
name :
Argument Error occured at <except.c>:93 in xraise
Error occured in sort.c:551 - field_cache_get_index
Cannot sort by field "name". It doesn''t exist in the index.
The problem, occur when my index is empty, so the field "name" does not
exists.
--
2007 Feb 25
4
[BUG] Bus Error OS X
I''m getting the following on OS X (under locomotive) when running the
tests for ferret. Is anybody else getting this error?
rm -f ext/mem_pool.*
rm -f ext/defines.h
** Execute test_units
/Applications/Locomotive/Bundles/rmagickRailsJan2007_x86.locobundle/framework/bin/ruby
-Ilib:test/unit
2007 Jan 01
2
Possible Bug when Creating Indexes
I''m running:
ferret (0.10.9)
ruby 1.8.5 (2006-08-25) [i386-mswin32]
on Windows XP(SP2)
When I create an index as follows:
field_infos = FieldInfos.new(:store => :yes, :term_vector => :no, :index
=> :yes)
field_infos.add_field(:id, :index => :untokenized)
field_infos.add_field(:subject)
field_infos.add_field(:author)
field_infos.add_field(:tags, :store => :no)
index =
2007 Jul 11
4
Query scoring - WTF?
Hi!
I thought I understood Ferret''s query scoring and how to tweak
results using boost values. What I currently experience however,
leaves me completely baffled.
Perhaps someone can shed some light on the scoring algorithm, because
asking Ferret to "explain" the score for a particular document isn''t
as informative as I thought. Actually, it confuses me even
2007 Feb 28
2
Ferret quick dump&load
Hello Dave, Hello all,
Some weeks ago, Maz submit a patch to quickly dump or load a ferret
database in an other format to prevent index rebuilding (due to changes
in the format) or to simplify backup/replication tasks.
I re-paste this patch (it was against the 0.10.14) here :
http://pastie.caboo.se/43603
Do you think it''s intresting for ferret ?
Do you have any plan for this patch ?
2006 May 11
6
problem with solaris install
I was trying to install ferret 0.9.2 on solaris (SunOS 5.8) which
does not have a sys/dir.h
nix_io.c:5:21: sys/dir.h: No such file or directory
make: *** [nix_io.o] Error 1
I couldn''t find an obvious way around this... any suggestions?
Thanks,
Rich Marisa
Cornell Information Technologies
Cornell University
2007 Mar 08
2
Test fail on debian 3.1
I have a problem, I use utf all over a rails site, but the search failes
to search characters with acccents...
I try to debug it, and i had run unit tests for ferret, can those
failures cose problems?
<pre>
/usr/lib/ruby/gems/1.8/gems/ferret-0.11.3/test/ ruby test_all.rb
Loading once
Loaded suite test_all
Started
2006 Sep 05
4
No matches
The following script creates a search index and then searches it. I get
no results? Where am I going wrong?
Thanks.
-----------BEGIN SCRIPT----------------
require ''rubygems''
require ''ferret''
include Ferret
path = ''/tmp/myindex''
field_infos = Ferret::Index::FieldInfos.new()
field_infos.add_field(:name, :store => :yes, :index => :yes)
2006 Sep 07
7
invalid characters with win32
I''m running on webbrick 1.3.1, winxp, ruby 1.8.4, rails 1.1.6,
ferret-0.10.2-mswin32
Used gem install ferret - didn''t report any errors.
When I do a
require ''ferret''
in any of my controllers actionview blows up with a
SyntaxError in Default#index
/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/base.rb:307:in
2006 Sep 22
1
QueryParser bug?
I cooked up a little script to show what I mean. This doesn''t look right
to me, but maybe I just completely misunderstand QueryParser.
Same output on mswin32, unix, ferret 0.9 and 0.10
Cheers, Sam
require ''rubygems''
require ''ferret''
p Ferret::VERSION # 0.10.6
index = Ferret::Index::Index.new()
index << {:title => "Programming
2006 Mar 29
1
Using boolean terms in PHP bindings
OK, I'm indexing my data with the scriptindex. I want to be able to
restrict the search by the category field. Do I need to do anything to
the data itself? Like, literally prefix it with the characters "XC"?
Below is my indexor for scriptindex and the my php code...
document_id : field=ref unique=Q boolean=Q
search_id : field=document_id index=S
document_title : field=title
2006 Sep 15
3
Crashes and tests failures again with 0.10.4
In the beginning 0.10.4 looked promising, but now that my index has
grown to > 100 MB I''m getting segfaults on some searches again:
>> Post.find_by_contents(''rubyforum'')
# ok
>> Post.find_by_contents(''ruby-forum'')
/usr/local/lib/ruby/gems/1.8/gems/ferret-0.10.4/lib/ferret/index.rb:351:
[BUG] Segmentation fault
ruby 1.8.4 (2005-12-24)
2006 Aug 15
8
Ferret 0.10 series
Hi David,
>> Otherwise I''m fully committed to getting 0.10 out.
>> When it is out, I''d recommend getting it into your
>> development app as soon as you can.
Any idea of timeframe to a 0.10 alpha release?
Kind Regards
Neville
2007 Jan 22
6
[Ferret] Test failures for ferret tagged REL-0.10.14
Hi Dave,
I''ve been getting some segment faults while running my tests using
0.10.14 gem so I decided to package the gem locally to add -dH and
generate core dumps for you.
So I followed instructions here
http://ferret.davebalmain.com/trac/wiki/DownloadCurrent and first off
ran the tests.
I''m getting the following failures. (see this pastie
http://pastie.caboo.se/34790).
I
2007 Apr 10
8
ferret-0.11.4-mswin32 not compatible with Ruby1.8.4
Just a quick note for future reference - at least for me, ferret won''t
work on Ruby 1.8.4.
gem install ferret
Successfully installed ferret-0.11.4-mswin32
ruby -v
ruby 1.8.4 (2005-12-24) [i386-mswin32]
irb
irb(main):001:0> require ''ferret''
A windows error message box appears -
ruby.exe - Entry Point Not Found
The procedure entry point rb_w32_write could not be
2006 Aug 24
2
[0.10.0] LazyDoc#fields does not return symbols
Hi again,
fields() method of Ferret::Index::LazyDoc return an array of integer
(maybe the integer of the symbol? I don''t know) instead of symbols as
explained in the doc :
http://ferret.davebalmain.com/api_0.10.0/classes/Ferret/Index/LazyDoc.html#M000042
Any ideas ?
--
Posted via http://www.ruby-forum.com/.
2006 Aug 23
4
Ferret 0.10.0 bugs
Hi all !
Is Ferret 0.10.0 realy stable ?
Because I converted all my code to the new API and many strange things
appened.
For exemple this, when I run a import script :
/usr/lib/ruby/gems/1.8/gems/ferret-0.10.0/lib/ferret/index.rb:98:in
`initialize'': End-of-File Error occured at <except.c>:103 in
xpop_context (EOFError)
Error occured in store.c:197 - is_refill
current
2006 Aug 24
4
[0.10.0] Index#search_each options ignored
Hi Dave,
The options hash is not used in search_each() method.
--
Posted via http://www.ruby-forum.com/.
2006 Aug 23
4
Ferret 0.10 and Fields
Hey ...
I just tried to convert my code to 0.10 .. But i''m currently not sure
how to use fields..
i really like some of the new api.. its leaner and i like the fact that
these strange consts are gone (like
Ferret::Search::BooleanClause::Occur::MUST) ..
I see that you''re now having Ferret::Index::FieldInfo to describe the
fields of the index.. thats good.. and i now see that
2006 Jul 25
1
RDig document processing error
Hi all,
Am having problems using RDig:
With this rdig config...
cfg.crawler.start_urls = [''http://www.defensetech.org'']
cfg.crawler.include_hosts = [''www.defensetech.org'']
cfg.index.path = ''/my/path/to/index''
cfg.verbose = true
...I get this output:
$ rdig -c config/rdig_config.rb
/usr/local/lib/site_ruby/1.8/ferret/index/term.rb:45: