similar to: Problem with index file permissions

Displaying 20 results from an estimated 30000 matches similar to: "Problem with index file permissions"

2006 Nov 24
2
Strange error. Index corrupt on production server
We''ve been running Ferret for a few months on our site with great result. But, just a monent ago the index suddenly became corrupt. It all started with this error message: :108250 is out of range [0..108183] for IndexWriter#[] /usr/local/lib/ruby/gems/1.8/gems/ferret-0.10.9/lib/ferret/index.rb:382:in `[]'' And after that every search resulted in this error: A IOError
2006 Sep 11
1
Using a datefilter with caching
I''m trying to use a DateFilter to speed up some searches. The situation is that a have an index with 200 000+ documents and I want to run a few thousand alerts (basically stored searches) on only a small portion of the index (documents added the last hour). Is datefilter the best solution for the situation described above? I assumed that the datefilter would be cached in the same way
2007 Jul 04
6
Inconsistent results when using wild card queries
We get some unexpected results when using wild card queries. We''re using aaf and Ferret 0.11.4 For exampel, when seraching on a part of a collegues name (kristofer) and limiting it to a specific source_id: Query: source_id:25 AND kri* Result: 2 documents. None of them containg the word kristofer, but other matching words, as "kring" and "kring?" (swedish) Query:
2006 Oct 02
6
Strange Sorting Issues
Hi there, I''m having some strange sorting stuff goign on. Here''s my search method: sort_fields = [] sort_fields << Ferret::Search::SortField.new("name", :reverse => :false) @results = Listing.find_by_contents @search_criteria, :limit => :all, :sort => sort_fields page = (params[:page] ||= 1).to_i items_per_page = 9 offset = (page - 1) *
2006 Jun 28
2
Problem searching with special characters
I''m using Ferret on a Swedish website and I get some unexpected behaviour on searches containing the swedish charchters ???. An exampel, if I index a string "Varf?r fungerar det inte" ("Why doesnt it work" in swedish) and search for "f?r" I''ll get one (1) match. The expected behaviour would be no matches since ''f?r'' is part of
2006 Sep 20
5
acts_as_ferret limit on multi_search not working?
I''m using acts_as_ferret to do a query like this: Model1.multi_search("my query",[Model2,Model3], :limit => 2) No matter what number i set limit to I get 10 items in the resultset. Am I doing something wrong? Thanks/David -- Posted via http://www.ruby-forum.com/.
2007 Oct 05
5
DRbConnError when using script/runner
I am running ferret (0.11.4) and acts_as_ferret (stable from svn) in a rails 1.2.3 app in production using the DRb server. I recently upgraded my configuration and the method with which I start and stop the server no longer works: Here is the command I would like to use (and have used in the past) to start the aaf server: $ /Library/WebServer/rails/ccdb/current/script/runner -e production
2006 Dec 04
4
How to handle updates from other machine
Hi, Right now I''m having ferret index about 1.5million documents. I plan on rebuilding the index on another machine and then copying the index over to the webserver. I read in one of the other posts that ferret has to reopen the index to see any new changes. Is there a way to script this? My frontend is a RoR app using AAF. Thanks, Chris -- Posted via http://www.ruby-forum.com/.
2006 Dec 01
2
Ferret on Apache Installation
Hi, had my local linux box setup and ferret was working like a champ via Webrick. However, when I moved to a different linux box using Apache web server, search no worky..giving the error listed below. The site itself comes up fine. I''ve tried deleting all the dirs under /index and restarted the webserver to see if re-indexing would help, but that made matters worse. Re-indexing
2007 Jan 18
5
corrupt index immediately after rebuild
Hello, I''m usin gferret and I''ve just attempted to build an index that contains 15,968,046 documents. I''ve rebuild the index from scratch, but when I try to search for some items I get this error: IOError: IO Error occured at <except.c>:79 in xraise Error occured in fs_store.c:289 - fsi_seek_i seeking pos -1284143798: <Invalid argument> This is
2007 Sep 10
2
IO errors with 2 processes
Hi All, I''m using acts as ferret and getting a lot of these errors: ---- Error occured in fs_store.c:324 - fs_open_input couldn''t create InStream /var/rails/projectblue/website/public/../config/../index/production/content_page/_347i.fdt: <No such file or directory> ---- and also some of these errors: ---- uninitialized constant Ferret::Index::Index::LockError
2006 Sep 26
3
concurrency / #search_each problem / segfault
Hello everyone, I was stress-testing my application (running on Rails via FastCGI) by letting two concurrent users (not human .. an app called ''siege'') a) save an Article and b) search for all Articles. I am searching via Article.ferret_index.search_each( ..) do |doc_id,score| doc = index[doc_id] .. end and writing via Article.ferret_index <<
2006 Mar 19
3
Ferret 0.9.0-alpha (port of Apache Lucene to pure ruby)
Hi Folks, I''ve just released version 0.9.0. This latest version of Ferret is an alpha release. I have removed the old c extension and Ferret is now running on a fully ported C library. This has allowed some huge performance improvements both with regard to memory and CPU usage. There will probably be a few portability issues to start with. It has been developed on Linux so it should
2007 Oct 10
2
Multiple index instances and ferret/acts_as_ferret
We''re running Ferret and acts_as_ferret in our production environment. We have multiple mongrels talking to a single index on a separate (virtual) server over DRb. This is working ok for now, as our index updates are fairly infrequent. I''m concerned with the lack of rendundancy/scalability in this layout. Our index won''t get too big - maybe 100k indexed objects, each no
2006 Aug 23
2
Reworking the Index Constructor
Hey .. I was thinking about the way I need to use the Ferret::Index::Index Class and its subclasses .. i find it somehow complex .. I think this can be done more easily .. Most of the Time a user needs to open up a index to do queries, the best way would be to use a IndexReader afaik. I would suggest to do it that way: index = Ferret::Index::Index.new( :path =>
2007 Oct 04
2
Offline indexing issues
If I disable ferret in my environment file and then run a cron job every hour to index the records that have been added/changed, do I enable Ferret just in the script that does the hourly indexing? Or do I somehow need to tell the process that runs the Ferret DRB server that it should start writing to the index again? Thanks in advance. Erik
2007 Sep 01
2
Can lucene use index generated by ferret?
I found it quite fun to generate index by ferret. However, I had to use lucene now. Can I use the index that I''ve already done by ferret? ps. Lucene 2.2.0 vs Ferret 0.11.4 Thx! -- Posted via http://www.ruby-forum.com/.
2006 Oct 18
3
[Bug] Seg Faulting in index.rb:718
Hey, Ferret is repeatedly seg-faulting my mongrel servers on the same line: /usr/local/lib/ruby/gems/1.8/gems/ferret-0.10.11/lib/ferret/index.rb:718: [BUG] Segmentation fault ruby 1.8.5 (2006-08-25) [i686-linux] I''m using ferret 0.10.11. I haven''t had the time to dig into yet, it''s on the backburner right now - I just keep several spare servers and restart them
2007 Sep 12
2
ported index from one machine to another
Hi, I built an index on a free bsd machine using ferret and then ported the index to another machine. While searching from that copied index the searcher generates a file not found error. I have set all the permission right and the files do exist in the directories.on creating index from local machine the searcher finds the index. could any body please tell what might be the problem. Is it a
2007 Jul 24
1
Why can''t find index file sometimes?
I''m using ferret and acts_as_ferret,i can success save record,but sometimes when i update record,index not found error occurred(not always).I don''t know why:( [quote] 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 "/home/dev/www/index/development/rcu/_12q.cfs" but it doesn''t