similar to: Ferret quick dump&load

Displaying 20 results from an estimated 1000 matches similar to: "Ferret quick dump&load"

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 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
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. --
2008 Jan 09
5
Parallel indexing doesn''t work?
Hi, I''m trying to get parallelized ferret indexing working for my AAF indices, based on the example in the O''Reilly Ferret shortcut. However, the resulting indices after merging seem to have no actual documents. I went and made minimal changes to the example in the Ferret shortcut pdf, and indeed can''t get that to work either. I''d appreciate any help
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 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 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
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 Sep 28
3
A few questions about numbers and dates
Hi, I just noticed that Ferret seems to convert every field to a string [ruby code appended for those interested], which has thwarted my attempt to format Dates (to "dd/mm/yyyy") and Floats (to "n.nn") for consumption further down the line based on the class of the field stored. I considered pre-formatting Dates and Floats prior to indexing, which would store the field
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 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 Sep 11
3
Boolean query bug
Hello all, At the end of this script : http://pastie.caboo.se/12711, I made two search. They have to return the same result, but the first return 2 matches and the second only one match. The first is clearly buggy. Do you have an idea ? Thanks. PS: I''ve tested with 0.10.4 -- Posted via http://www.ruby-forum.com/.
2007 Jan 17
2
Dump and load functionnalities? Test patch provided
Hello everyone, We need to create backups of our index, but there are a few constraints: - our application shouldn''t go offline for that - it has to be done quickly Ferret doesn''t seem to have this kind of functionnality (though I''m very new to Ferret, I may be wrong), and I figured that I couldn''t do it using plain Ruby (it''s way too slow, try with
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)
2007 Feb 28
4
Ferret 0.11.2-rc3 released
Hey guys, I''ve just removed the -fno-stack-protector flag from the release so those who had trouble because of this should now be able to install 0.11.2-rc3. If you have any problems with this release, please let me ASAP. Cheers, Dave -- Dave Balmain http://www.davebalmain.com/
2009 Nov 19
1
Type Of Number setting (pridialplan) is not effective
Hello, I have an Asterisk system in the UK using ISDN service from BT. My problem is that the called number is always passed to the provider with the Type Of Number declared as ?national? despite pridialplan (and prilocaldialplan) is set to ?unknown?. My questions are: - How can I find out what the effective value is for the above two variables without actually making a call? (I have very
2007 Jan 29
2
Segmentation fault in Index::Index#add_document
Hello, Here''s the code that segfaults: http://pastie.caboo.se/36467 I could have submitted a patch, but I''m not sure whether this segfault is caused by Ferret or Ruby. This seems to be triggered only when combining a split and a gsub on an empty string of the returned array, and trying to insert it directly into the index. However, there''s no problem when you
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 Mar 01
0
Error with new ferret
Hello there. I get two different errors, after i installed the new ferret-version. I havn''t seen any comments about changing the API, so there should be no problem using acts_as_ferret as i did before: File Not Found Error occured at <except.c>:117 in xpop_context Error occured in fs_store.c:329 - fs_open_input tried to open