similar to: AAF index updated when record is deleted?

Displaying 20 results from an estimated 4000 matches similar to: "AAF index updated when record is deleted?"

2007 Jul 25
17
DRb not starting
Hi, I have my Model as follows: class Mutation < ActiveRecord::Base acts_as_ferret ({:fields => {:description=>{}, :product_id=>{:index => :untokenized}, :product_description=>{}, :product_label_description=>{}, :product_label_free=>{}, :product_product_id_supplier=>{}, :product_description_supplier=>{}, :supplier_description=>{}, :pub_date_sort
2007 Sep 11
2
Newcomer perceived problems with AAF/Ferret
I blogged about some of the problems with aaf in production (http://www.jroller.com/BrightCandle) yesterday but inspired by the poitive response I thought I would share the perceived problems and discuss some of the potential solutions to help newcomers and make aaf work as if by magic just like Rails does. All of these problems boil down to one simple problem, running acts as ferret in a
2007 Sep 21
1
Using AAF with ActiveRecord outside of Rails?...
Hi, My project has been happily using ActiveRecord outside of Rails for some time to populate various databases that are also used in Rails based websites. I''d like to bring AAF into this setup to index new records that are added to the databases as they''re added. Has anyone had any success in installing and using AAF with ActiveRecord but outside the Rails plugin support? I
2007 May 31
5
complete index rebuild using AAF trunk
I am using AAF trunk, and I want a way to rebuild an index on a production site with little or no interruption to service. The Drb Server documentation* states that when an index is rebuilt, it is done in a separate location and then swapped into place when finished, and so to do a complete rebuild on a live site, one must take into consideration objects which have been created or
2007 Nov 09
2
Problem with stemming and AAF
I''m sure I''m missing something completely obvious here, so I hope someone can point me in the right direction! I''ve implemented a basic search with AAF, which works as expected; I''m running a ferret drb server, and using will_paginate to page results. The code in my search_controller.rb: search_text = params[:query] || " " @products =
2007 Aug 23
3
AAF: find_by_contents on AR Association Total Hits
I seem to be getting some behaviour thats unexpected (for me anyway) when using find_by_contents on an ActiveRecord has_many association. The results that are returned are only the records that belong to the model returned, but the total_hits that are being returned appear to be for the whole table. e.g. class Book < AR::Base has_many :pages end class Page < AR::Base belongs_to :book
2008 Feb 01
1
is anyone using AAF trunk?
My project is currently using AAF 0.4.3. Trunk has some compelling features, but my project is going live on Monday and I am apprehensive about switching. Is anyone using trunk in a relatively high-volume context? (A low and vague standard for evaluating production suitability, I know, but better than nothing). Thanks, John
2006 Nov 28
8
how to update index from a script
Hello all, I''m using AAF right now to index my ~3million db records. However, any additions to these records are added to the database through an external script so the aaf activerecord hooks will not catch any updates. Since new records are only added rarely, I figured I could just add the new records manually in ferret from some type of script. I''ve been looking at the
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
2007 Aug 19
4
SVN installation problem in ferret
Hello, I am not able to run this command given in the tutorial http://projects.jkraemer.net/acts_as_ferret/ *Inside your Rails project* Please use script/plugin install svn://projects.jkraemer.net/acts_as_ferret/tags/stable/acts_as_ferret gem is installed. i have added the desired line in environment.rb as well but while running this particular command of svn://.. nothing actually
2008 Jan 02
4
utility of default_field
The documentation* states that when using a single index for multiple models, the default_field list should be set to the same thing for all models. However, in my application, all my models have very different fields and this is not possible. I still want the results returned sorted by term frequency across all indexed content in each model. What is the purpose of default_field? Under
2007 Dec 02
1
solaris SMF to start ferret drb server
Jesse Grosjean wrote: > I''m trying to write a solaris SMF file to launch the ferret drb server. Hmm, I think I''ve hit a similar problem. I''ve just upgraded to the latest ferret trunk from an old aaf stable where the script/ferret_start and script/ferret_stop scripts were still in use. now if I call the old script... RAILS_ENV=production script/ferret_start
2007 Aug 24
7
can''t create new ticket
Hi there, I can''t seem to find a way to create a new ticket. I''d like to create tickets for those two reproduced bugs: http://rubyforge.org/pipermail/ferret-talk/2007-June/003588.html http://rubyforge.org/pipermail/ferret-talk/2007-June/003600.html Can anybody please do it for me or point me in the right direction ? TIA --
2007 Nov 15
8
Ferret/AAF Stability?
Hello. I''m the author of DataMapper (http://datamapper.org), and am trying to choose what Full-Text-Indexing engine/plugin I want to include by default. I was hoping you guys could help. :-) Sphinx comes highly recommended, but without live index updates, it just doesn''t seem practical for most of my work. I''m most experienced with Solr, but the whole HTTP::Request and
2007 Sep 12
3
Can''t disable ferret when running in Mongrel
In my environment.rb I say the following: MyModel.disable_ferret puts MyModel.ferret_enabled? The console works as expected: script/console false >> MyModel.ferret_enabled? => false I can then edit an instance, ferret remains disabled and the changes are not immediately indexed. However, when I start mongrel Ferret is initially disabled, but then somehow becomes enabled again
2007 Oct 03
3
Pagination problem with acts_as_ferret
Hi, am using this wonderful plugin acts_as_ferret and according to the tutorial at http://railsenvy.com/2007/2/19/acts-as- ? rial#basic I worked it out except the pagination feature. If I have 12 records and I give limit to 10, its correctly displaying 10 records in the first page and is giving the link to the second page too. But when I go to the next page I find the same 10 records instead of
2007 Sep 21
3
multi_score?
Hi! I''m using acts_as_ferret in my rails project and i need to order the search results by a combination of the result given by ferret (score) and a ranking in the database (normalized also). this combination can be like that: 0.4*ferret_score+0.6*database_score this database_score is also indexed any idea? and someone know how to access the ferret data in the object returned by
2007 Aug 16
3
SVN seems to be down
I''ve tried throughout the day to install the plugin from SVN and the connection keeps getting refused. On a side note, I tried instead to install the gem rather than the plugin and it seems to only run correctly for the root user. Am I doing something wrong? Sorry if this is a stupid question, but I''m pretty new to Rails and even newer to AAF. Thanks, Josh -- Posted via
2007 Sep 27
5
Remote index blocks?
Using the Drb allows me to synchronize writes to the index in a multi mongrel environment. I was under the impression that the remote index would not block if two mongrels were searching the index. Is that the case? This line in ferret_server.rb makes me think otherwise: # Calls are not queued atm, so this will block until the call returned. # def method_missing(name,
2007 Oct 02
3
deadlocks in Drb Server
Hi, we still have the problem in that the Ferret Drb server dies on us sometimes. Looking through ferret_server.out and we come accross this: deadlock 0xb7261cb0: sleep:F(1012) - /usr/lib/ruby/1.8/drb/drb.rb:566 deadlock 0xb71d8654: sleep:F(409) - /usr/lib/ruby/1.8/drb/drb.rb:566 deadlock 0xb723f3e0: sleep:F(7) - /usr/lib/ruby/1.8/drb/drb.rb:566 deadlock 0xb72607c0: sleep:F(11) -