search for: ensure_index_exists

Displaying 9 results from an estimated 9 matches for "ensure_index_exists".

2008 Aug 20
1
acts_as_ferret and DRb server errors
I am seeing this in my ferret_server.log when I do a search: DRb server: ensure_index_exists for class Myclass1 DRb server: ensure_index_exists for class Myclass2 DRb server: ensure_index_exists for class Myclass3 DRb server: ensure_index_exists for class Myclass4 #method_missing(:id_multi_search, ["Myclass1", "test*", ["Myclass4", "Myclass3", "...
2007 Apr 15
2
"tried to use a closed index"
Sorry in advance for the newbie question. Can''t get aaf going and can''t find similarly stuck folks on this forum. I''m running Rails on my local machine in development mode. I installed ferret 0.11.0 gem, and the most recent stable aaf plugin (as of today). I''m having trouble getting the most basic functionality working. In my model Recipe, I have:
2007 Nov 05
0
Partial Class Definition if Ferret Server Not Running
...f the ferret server is not running the acts_as_ferret class method will raise an exception. This causes the model class to only be partially defined, and therefore all use of that class in the rails application will explode until the rails process is restarted. This stems from the fact that ensure_index_exists is called on the server just before the end of the acts_as_ferret class method. This brings up a few questions: 1) Why can''t remote_index call ensure_index_exists on the fly similar to how local_index does it? Can''t this be done in the server on the fly? What about rebuild...
2007 Feb 27
3
acts_as_ferret rebuilding issue with ferret 0.11.0
Hi, There is a problem with the way that acts_as_ferret verifies the index is valid. In ensure_index_exists it looks for a file named ''segments''. With the 0.11.0 release of ferret there is no file with this name. On my dummy application I have a ''segments.gen'' and ''segments_2y''. Changing the test to segments.gen fixes the problem that the index is co...
2007 Nov 11
6
Reducing dependency on remote ferret process
Hi. We use FerretDrb for search. If the ferret process is down, our entire application comes down the moment we try to save a model which is indexed. Is there a way to decouple this relationship such that we can somehow resume normal operations despite ferret being down and not index the model? Thanks. Morten
2008 Jan 21
4
Rails app cannot connect to Ferret server
.../localhost:9010) /vendor/plugins/acts_as_ferret/lib/ferret_server.rb:164:in `with_class'' (druby://localhost:9010) /vendor/plugins/acts_as_ferret/lib/ferret_server.rb:137:in `rebuild_index'' (druby://localhost:9010) /vendor/plugins/acts_as_ferret/lib/ferret_server.rb:122:in `ensure_index_exists'' (druby://localhost:9010) /vendor/plugins/acts_as_ferret/lib/ferret_server.rb:164:in `with_class'' (druby://localhost:9010) /vendor/plugins/acts_as_ferret/lib/ferret_server.rb:119:in `ensure_index_exists'' Any idea what I might have missed? - Carsten -- Posted v...
2008 Sep 25
1
Acts_as_ferret, DRb, 4 monrels and complete site lockups
...ame time ferret DRb server starts eating lots of CPU. Solution that usually helps (but not always!) is to boot to console and rebuild index for my indexed tables. In addition to this I get following errors in ferret_index.log all the time, no matter if site is working OK or it hangs: LocalIndex: ensure_index_exists at /home/application/20080925154449 and in ferret_server.log: #method_missing(:add, ["PublishedResource", {:by ............... Please help if anyone had similar problems with Ferret. I hope getting rid of 2 error messages that are logged will solve site hanging issue. H. --~--~-------...
2007 Oct 03
3
The ferret logs
...t/core_ext/string/inflections.rb:148:in `constantize'' (druby://127.0.0.1:9009) ./script/../config/../vendor/plugins/acts_as_ferret/lib/ferret_server.rb:112:in `with_class'' (druby://127.0.0.1:9009) ./script/../config/../vendor/plugins/acts_as_ferret/lib/ferret_server.rb:78:in `ensure_index_exists'' /data/fiddle/current/config/../vendor/plugins/acts_as_ferret/lib/remote_index.rb:16:in `send'' /data/fiddle/current/config/../vendor/plugins/acts_as_ferret/lib/remote_index.rb:16:in `method_missing'' /data/fiddle/current/config/../vendor/plugins/acts_as_ferret/lib/act_me...
2007 Jul 04
2
problems after gem update
...C:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/acts_as_ferret-0.4.0/lib/local_index.rb:46:in `each'' C:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/acts_as_ferret-0.4.0/lib/local_index.rb:46:in `rebuild_index'' C:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/acts_as_ferret-0.4.0/lib/local_index.rb:23:in `ensure_index_exists'' C:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/acts_as_ferret-0.4.0/lib/local_index.rb:9:in `initialize'' C:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/acts_as_ferret-0.4.0/lib/class_methods.rb:233:in `new'' C:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/acts_as_ferret-0.4.0/lib/class_methods...