similar to: Boolean query bug

Displaying 20 results from an estimated 2000 matches similar to: "Boolean query bug"

2006 Aug 30
5
[0.10.x] Index#search with wildcard bug
Hello all, This script (http://pastie.caboo.se/10872) return this : Total hits = 100 Total hits = 0 This is not cool :( Dave ? Jens ? Someone ? Do you have any idea ? Thanks in advance. -- Posted via http://www.ruby-forum.com/.
2006 Aug 26
4
[0.10.0] Index#add_document bug with strange value ?
Perhaps, I found where is my problem (during a big import). Why this silly (really silly :)) example crash ? http://pastie.caboo.se/10357 /usr/lib/ruby/site_ruby/1.8/ferret/index.rb:211:in `add_document'': IO Error occured at <except.c>:79 in xraise (IOError) Error occured in fs_store.c:225 - fso_flush_i flushing src of length -2 from
2007 Feb 26
4
Ferret 0.11.0 tests segfault
I have an important segfault when I create the index (via Ferret::Index::FieldInfos#create_index). I decided to run the tests, this is what I have : $> ruby test_all.rb Loading once Loaded suite test_all Started ....................EEEEEEEE./unit/../unit/index/../../unit/store/../../unit/analysis/../../unit/utils/../../unit/query_parser/../../unit/search/tc_filter.rb:11: [BUG] Segmentation
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/.
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. --
2006 Oct 10
4
Need help for coding an extension to ferret
Hi, i''m working on a project using Ferret for indexing it''s datas. I''m very happy with it but i need to code an extension to implement a .to_json method to TopDocs class, because ruby''s json implementation is really really slow... It''s my second (the first was the tutorial :/ ) ruby C extension, so i''m not really at ease with ruby C
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/.
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 Aug 26
8
[0.10.0] Index#search is not thread safe ?
This script (http://pastie.caboo.se/10371) give this result : "1" "0" "0" "0" Why the other thread does not have the same result ? Maybe, it''s not the correct way to use the index in a multi threaded environement but I don''t know how to do. 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
1
[0.10.0] Random error when big import
In a rails script (something in the "script" dir with the good require) I added many document (around 4000) to an index globaly instanciate (and build if not present) in config/environment.rb. I ran 3 three times my script (I deleted my index every time before), and only the third was successful. That was STRANGE ! :) These are the errors :
2006 Aug 24
8
installing ferret
I am trying to test drive ferret on a ubuntu dapper installation. I have a ferret-test.rb file like: ----begin--------- require ''ferret'' include Ferret index = Index::Index.new(:path => ''/opt/search-index'') ----end----------- When i issue: ruby ferret-test.rb, I get: ferret-test.rb:1:in `require'': no such file to load -- ferret (LoadError)
2006 Sep 08
8
Ferret-0.10.3 released
Hey all, I''ve just released Ferret 0.10.3. It is mostly just a bugfix release. I''ve also added Ferret::Analysis::HyphenFilter which filters hyphenated words for better search results. Basically the way it works is it concatenates a hyphenated word as well as adding the two separate terms. So "set-up" becomes "setup", "set", "up" so
2005 Dec 02
8
Ferret 0.3.0 released
Hi folks, This latest release of Ferret has a lot of improvements. There have been substantial improvements to performance. Try it for yourself to see. I won''t be publishing any numbers just yet. I will say though that it''s still about 2-4 times slower than Lucene with the extension installed. There is also some performance improvements in the pure Ruby version if you
2007 Apr 07
19
Constant 0.11.4 Errors
Folks, Since upgrading to ferret 0.11.4 on Mac OS X Tiger, I''ve been running into constant crashes when running my Rails tests. Here''s an example of the output. -- snip -- 1) Error: test_published_blog_can_be_ferreted(BlogTest): Ferret::FileNotFoundError: File Not Found Error occured at <except.c>:117 in xpop_context Error occured in fs_store.c:329 - fs_open_input
2006 Sep 06
9
Which analyzer to use
Lucene''s standard analyzer splits words separater with underscores. Ferret doesn''t do this. For example, if I create an index with only document ''test_case'' and search for ''case'' it doesn''t find anything. Lucene on the other hand finds it. The same story goes for words separated by colons. Which analyzer should I use to emulate
2005 Dec 19
17
Indexing so slow......
I am indexing over 10,000 rows of data, it is very slow when it is indexing the 100,1000,10000 row, and now it is over 1 hour passed on the row 10,000. how to make it faster? here is my code: ================== doc = Document.new doc << Field.new("id", t.id, Field::Store::YES, Field::Index::UNTOKENIZED) doc << Field.new("title", t.title,
2007 Feb 16
1
Bug in IndexSearcher with limit => all and any offset
Here''s the deal: static TopDocs *isea_search_w(Searcher *self, Weight *weight, int first_doc, // OFFSET int num_docs, // LIMIT Filter *filter, Sort *sort, filter_ft filter_func,
2006 Jul 14
18
adding a custom filter to the query
Hi all, I''m trying to figure out how to add a filter into a search. I''ve created the filter, basically copying the location filter from http://blog.tourb.us/archives/ferret-and-location-based-searches. But when I try to call Index.search and pass the filter in a hash with the key :filter, I get back that it is expecting type Data, and so I''m at a loss to figure out
2007 Feb 27
3
segfault in ferret 0.11.0
Hi, Just downloaded the new ferret 0.11. I''m on OSX btw. I get this error everytime I run my unit tests: Loaded suite ferret_updater_unit_test Started E/usr/local/lib/ruby/1.8/erb.rb:504: [BUG] Segmentation fault ruby 1.8.4 (2005-12-24) [i686-darwin8.7.1] Abort trap When I revert back to 10.14 I dont get this error. When I comment out the line: Ferret::Index::Index.new({:path =>