similar to: Strange error. Index corrupt on production server

Displaying 11 results from an estimated 11 matches similar to: "Strange error. Index corrupt on production server"

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/.
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
2006 Sep 13
1
Problem with index file permissions
I have a problem with file permissions and Ferret. In our production enivroment the webserver runs as one user and the console (and cron jobs) as another one. When Ferret creates a segment or file in the index directory it''s created with only read/write-permissions for the owner, which means that the other user can''t access the file. How can I affect the permission on files
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 Sep 27
1
RangeFilter performance
I''m using a RangeFilter to limit a search to only the most recently added documents. My index is about 150 000 articles and the RangeFilter typically selects about 1000 of them to run a batch of searches against. The performance is great as long as my index is newly optimized. As soon as add a few new documents the average search time for a batch of searches using the rangefilter
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 Jun 02
5
Firefox extension for ajax debugging
or similar... Is there any extension for firefox so that I can view the source code of ajax returned content? Thanks everybody.
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 Dec 18
11
Ortho - a library for JavaScript Graphics and Text
I''ve written a JavaScript library called Ortho (http://www.craic.com/ ortho) on top of Prototype for creating ''diagram-style'' graphics in JavaScript. You can create histograms, graphs, timeline plots, ''maps'' of genomic data, annotated images, tree diagrams, etc. Unlike Canvas, it seamlessly integrates text with graphics and the output looks the same
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 <<