similar to: ferret reindex_batch_size

Displaying 20 results from an estimated 9000 matches similar to: "ferret reindex_batch_size"

2007 Sep 14
0
How to call optimize
I was under the impression that Model.rebuild_index will automatically call optimize in the end. But that doesn''t seem to be the case. After running Model.rebuild_index how do I optimize the index. I am using aaf most stable and also ferret most stable. def rebuild_index(*models) models << aaf_configuration[:class_name] unless
2006 Jun 26
3
Installing ferret on windows
Hello, Im running rails 1.1.2 and ferret 0.9.3 and cant install act_as_ferret. I tryed the following instruction at act_as_ferret wiki: "Installation Please use script/plugin install svn://projects.jkraemer.net/acts_as_ferret/tags/plugin/stable/acts_as_ferret for easy installation of the current stable version of the plugin. At the moment this is version 0.2.1 based on Subversion Rev.
2006 Nov 06
1
NameError uninitialized constant Ferret::Index::FieldInfos
Hi Everyone, I''ve a RoR application. I am trying to build full text search capability into it. I installed Ferret. After that I installed the act_as_ferret plugin. I''ve also put the acts_as_ferret inside the <model>.rb file . I''m using the find_by_contents to get the search results. I''m getting the following error. I''ve no clue and I
2006 Mar 15
4
ActiveRecord::RecordNotFound in search results act_as Ferret
Hello, I''ve installed the Ferret gem and also got the act_as_ferret code from the wiki. I''ve set up my model "Branch" to act as ferret using the code below. acts_as_ferret :options => {:fields => [''name'', ''body_text'', ''address'']} I''ve also set up a ferret_controller with the code below def find
2007 Jul 24
4
Act as Ferret supports Conditional search?
Hi all, Im a newbie to ferret.I have installed the act_as_ferret gem and i actually want to search for some content in the model,but per user. My model has data,user_id.So within the data column i have to serach for a word if it exists for a given user. So can i achieve that ? presently i know that it just searches the "data" column irrespective of the user given. Can someone help me
2006 Sep 12
1
Ferret on Windows?
I am trying to use SVN HEAD of Acts_as_ferret, and I have ferret 0.10.4installed from the windows Gem. Unfortuanantly, whenever I i let act_as_ferrets init.rb file require ferret, my app blows up, with weird "Invalid char" errors. I have pasted the page below. If I comment out the require ferret, the page loads. Of course, act_as_ferret does blow up. My unit tests do work fine
2007 Mar 03
6
Problem with ferret :(
hi, i''m trying ferret and acts_as_ferret, it''s good, but i''ve a little problem. i''ve a model book which has a title and a quantity, how can i search using act_as_ferret all books which quantity is > 0 ? and howand with a search like "book", how can i found also title like "books" ? and the last, if i search "bok", is it possible
2006 Sep 12
5
ferret / acts_as_ferret multiple server deployment
Has anyone deployed ferret & act_as_ferret to a load balanced multiple server environment? If so, did you simply use a shared network index? I have a couple of ideas on how to deploy - but each have shortcomings and I''m hoping to find out if anyone else has deployed ferret in this manner. The application is simply load balanced between multiple servers running the same app for
2006 Sep 25
0
Odd indexing issue
Hey Dave, I just contributed $100 to the ferret donation box. My project is earning no money yet (but hopefully will), for now I hope this helps you out and covers me for asking stupid questions ;). To get a distance sorted output, I am passing an array of the id field from a ferret search through to mysql in a custom select statement. SELECT ... id IN (#{ids.join(",")}) This has
2007 May 10
0
Large index performance = 8x decrease
hi, i''m indexing a really large db table (~4.2 million rows). i''ve noticed that after ~2M records, index performance decreases by almost an order of magnitude. full dataset graph here: http://i122.photobucket.com/albums/o244/spokeo/indexer-data.jpg here''s a couple best-fit lines that represent the data points: 0-2M : y = 78.65655x + 144237.5 2.5M+ : y = 10.79832x +
2010 Dec 08
1
Help on install act_as_ferret on windows XP
Hi There! Im trying to install act_as ferret on win xp, with this environment: winXP ruby : 1.8.7 rails: 2.3.8 gem list: abstract (1.0.0) actionmailer (3.0.1, 2.3.8, 1.3.3) actionpack (3.0.1, 2.3.8, 2.3.2, 1.13.6, 1.13.3) actionwebservice (1.2.6, 1.2.3) activemodel (3.0.1) activerecord (3.0.1, 2.3.8, 2.3.2, 1.15.6, 1.15.3) activeresource (3.0.1, 2.3.8) activesupport (3.0.1, 2.3.8, 2.3.2, 1.4.4,
2006 Sep 26
4
Some documents not found
I''m a ferret newbie, so hopefully I''m missing something simple :) I am using ferret to index data about 36,000 products from a MySQL database. The index has one document for each product, with these important fields: id: the id (unique) of the product record in the database content: a concatenation of several bits of information from the product and associated records I
2007 Mar 27
4
Error in installling gem install acts_as_ferret
Hello everybody! I try to install ferret gem in my local machine . It goes like this : [root at dhcppc2 ~]# gem install ferret Need to update 1 gems from http://gems.rubyforge.org . complete Select which gem to install for your platform (i686-linux) 1. ferret 0.11.3 (ruby) 2. ferret 0.11.2 (ruby) 3. ferret 0.11.1 (ruby) >>1 Building native extensions. This could take a while...
2006 Oct 27
1
Regexpr. analyzer
Hi! I want to index html files, but w/o the tags, so I was thinking either I remove them before I index it (expensive), or put up an RegExpAnalyzer. BTW, when using an analyzer, does that mean that everything which it declines (i.e. the RegExpAnalyzer doesn''t match) won''t be put into the index files (i.e. blows it up)? I came up with a simple test, which didn''t
2008 Oct 08
0
undefined method add called for ActsAsFerret::Remote::Server
undefined method `add'' called for #<ActsAsFerret::Remote::Server:0x7f5be279ea38> I am currently using ferret (0.11.6) and act_as_ferret (0.4.3) My project is using rails 2.1.1 and ruby 1.8.6 along with sqlite3 and Webrick. I can start the ferret server and when I do ''ps aux | grep ferret'' in terminal I see the ferret server to be running. I have a model and
2006 Jun 13
1
Obtaining write lock when trying to write index error
Haloo. I''ve noticed some weird behaviour while trying ferret with rails *without* act_as_ferret plugin: when I start application under lighttpd proxying requests to spawned fcgi processes, I see this: : Error occured at :703 Error: exception 6 not handled: Could not obtain write lock when trying to write index The same time everything goes ok with webrick. Indexing part for the model
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 <<
2007 Apr 09
2
Ferret Demo Problem
Dear, I have download the demo of ferret from the following svn svn://projects.jkraemer.net/acts_as_ferret/trunk/demo and then i run the demo http://localhost:3005/content but i got such exception: undefined method `acts_as_ferret'' for ContentBase:Class RAILS_ROOT: ./script/../config/.. Application Trace | Framework Trace | Full Trace
2008 Jan 06
3
Did you mean ...? with act_as_ferret
Hello, does anybody know how to implement a "Did you mean ...?" like Google with act_as_ferret? I think this is a possible way: 1. Generate a keyword-list (this is my difficulty. I don''t know how to build such a list from the index) with no stop-words from the first index. e. g. (car, ship, plant, house) 2. Build a second index from this word-list where we store the word in
2007 Mar 31
8
Problem with encoding (Umlaut: ü, ä...)
Hi there from Germany, I just installed and set up ferret and act_as_ferret for rails. All of them at the most recent version. The development environment is running fine with Mac OS X. But I got problems with the productive environment (debian). In the (mysql-)database are few records stored, containig german umlauts (? for example). Running a query for "k?ln" returns the correct