search for: remote_index

Displaying 15 results from an estimated 15 matches for "remote_index".

2007 Apr 18
1
stack level too deep for method missing when using drb
...it''s running fine normally. Now I want to hook up the backgroundrb server. However whenever I try to do a search, I get this error: (druby://localhost:9010) /usr/local/lib/ruby/1.8/drb/drb.rb:1075:in `method_missing'' (druby://localhost:9010) ./vendor/plugins/acts_as_ferret/lib/remote_index.rb:20:in `find_id_by_contents'' (druby://localhost:9010) ./vendor/plugins/acts_as_ferret/lib/ferret_server.rb:68:in `method_missing'' (druby://localhost:9010) /usr/local/lib/ruby/1.8/drb/drb.rb:1078:in `method_missing'' (druby://localhost:9010) ./vendor/plugins/acts_as_ferre...
2007 Nov 05
0
Partial Class Definition if Ferret Server Not Running
...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 rebuilding all indexes in the server using ensure_index_exists at start up time, instead of being called for each class during class definition? 2) There...
2007 Apr 04
2
Please help with Drb server
...from /usr/lib/ruby/1.8/drb/drb.rb:1085:in `method_missing'' from /usr/lib/ruby/1.8/drb/drb.rb:1103:in `with_friend'' from /usr/lib/ruby/1.8/drb/drb.rb:1084:in `method_missing'' from ./script/../config/../config/../vendor/plugins/acts_as_ferret/lib/remote_index.rb:16:in `send'' from ./script/../config/../config/../vendor/plugins/acts_as_ferret/lib/remote_index.rb:16:in `method_missing'' from ./script/../config/../config/../vendor/plugins/acts_as_ferret/lib/class_methods.rb:15:in `rebuild_index'' from (irb):1...
2007 Nov 11
5
undefined method `add''
...0071111152414/vendor/plugins/acts_as_ferret/lib/ferret_server.rb:71:in `send'' (druby://10.1.65.87:9009) /data/releases/20071111152414/vendor/plugins/acts_as_ferret/lib/ferret_server.rb:71:in `method_missing'' /data/releases/20071111152414/vendor/plugins/acts_as_ferret/lib/remote_index.rb:31:in `<<'' /data/releases/20071111152414/vendor/plugins/acts_as_ferret/lib/instance_methods.rb:73:in `ferret_create'' I''m running the latest stable version of AAF. Any tips or work arounds much appreciated. Morten
2007 Jun 18
2
"No such file or directory - script" Error on Model.rebuild
.../usr/local/lib/ruby/gems/1.8/gems/acts_as_ferret-0.4.0/lib/ferret_server.rb:68:in `send'' from (druby://127.2.0.1:9100) /usr/local/lib/ruby/gems/1.8/gems/acts_as_ferret-0.4.0/lib/ferret_server.rb:68:in `method_missing'' from /usr/local/lib/ruby/gems/1.8/gems/acts_as_ferret-0.4.0/lib/remote_index.rb:16:in `send'' from /usr/local/lib/ruby/gems/1.8/gems/acts_as_ferret-0.4.0/lib/remote_index.rb:16:in `method_missing'' from /usr/local/lib/ruby/gems/1.8/gems/acts_as_ferret-0.4.0/lib/class_methods.rb:15:in `rebuild_index'' The rebuild did work for a while (week or so) af...
2007 Oct 03
3
The ferret logs
...ipt/../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_methods.rb:182:in `acts_as_ferret'' /data/fiddle/current/config/../app/models/tic...
2006 May 06
1
IPsec with racoon2
...upper_layer_protocol "tcp"; policy_index TUNNEL; }; selector 42 { direction inbound; dst 172.20.36.52; src 172.20.36.55; upper_layer_protocol "tcp"; policy_index TUNNEL; }; policy TUNNEL { action auto_ipsec; remote_index biosa-vm1.nowhere.com; ipsec_mode tunnel; ipsec_index { ipsec_esp; }; ipsec_level unique; peers_sa_ipaddr 172.20.36.52; my_sa_ipaddr 172.20.36.55; }; Anyone got any idea what I'm doing wrong? Thanks in advance John Ryan
2007 Sep 03
11
MySQL has gone away
...ent/script/../config/../vendor/plugins/acts_as_ferret/lib/ferret_server.rb:113:in `with_class'' (druby://localhost:3009) /var/www/web1/oms/current/script/../config/../vendor/plugins/acts_as_ferret/lib/ferret_server.rb:88:in `rebuild_index'' /vendor/plugins/acts_as_ferret/lib/remote_index.rb:16:in `send'' /vendor/plugins/acts_as_ferret/lib/remote_index.rb:16:in `method_missing'' /vendor/plugins/acts_as_ferret/lib/class_methods.rb:15:in `rebuild_index'' -- Posted via http://www.ruby-forum.com/.
2007 Apr 03
5
Inifinite loop problem with DRb server
...:in `current_server'' (druby://127.0.0.1:3000) /usr/local/lib/ruby/1.8/drb/drb.rb:1704:in `to_obj'' (druby://127.0.0.1:3000) /usr/local/lib/ruby/1.8/drb/drb.rb:1079:in `method_missing'' (druby://127.0.0.1:3000) /home/francois/src/xlsuite.org/vendor/plugins/acts_as_ferret/lib/remote_index.rb:25:in `id_multi_search'' (druby://127.0.0.1:3000) /home/francois/src/xlsuite.org/vendor/plugins/acts_as_ferret/lib/ferret_server.rb:69:in `send'' (druby://127.0.0.1:3000) /home/francois/src/xlsuite.org/vendor/plugins/acts_as_ferret/lib/ferret_server.rb:69:in `method_missing'&...
2007 Jun 13
14
Do delegates work properly in Drb mode?
Hi folks, I have several models that index well in Drb mode. However, I have one scenario where it works in normal mode, but not in Drb mode. model A field :one end model B belongs_to :a field :two delegate :one, :to => :a acts_as_ferret :fields => { :one => {}, :two => {} }, :remote => true end If I leave off the :remote parameter, it works. Or, if I don''t
2007 Apr 01
2
strange behavior after switching to DRb server
...ferret/lib/ ferret_server.rb:45:in `start'' (druby://localhost:9010) (eval):55 (druby://localhost:9010) script/runner:3:in `eval'' (druby://localhost:9010) ./vendor/rails/railties/lib/commands/ runner.rb:45 (druby://localhost:9010) script/runner:3 vendor/plugins/acts_as_ferret/lib/remote_index.rb:20:in `find_id_by_contents'' vendor/plugins/acts_as_ferret/lib/class_methods.rb:82:in `find_id_by_contents'' vendor/plugins/acts_as_ferret/lib/class_methods.rb:134:in `ar_find_by_contents'' vendor/plugins/acts_as_ferret/lib/class_methods.rb:128:in `find_records_la...
2007 Aug 30
0
Method missing error after switching to DRB
...y://localhost:9010) /var/lib/gems/1.8/gems/acts_as_ferret-0.4.1/lib/ferret_server.rb:113:in `with_class'' (druby://localhost:9010) /var/lib/gems/1.8/gems/acts_as_ferret-0.4.1/lib/ferret_server.rb:62:in `method_missing'' /var/lib/gems/1.8/gems/acts_as_ferret-0.4.1/lib/remote_index.rb:31:in `<<'' /var/lib/gems/1.8/gems/acts_as_ferret-0.4.1/lib/instance_methods.rb:73:in `ferret_create'' /var/lib/gems/1.8/gems/activerecord-1.15.3/lib/active_record/callbacks.rb:333:in `send'' /var/lib/gems/1.8/gems/activerecord-1.15.3/lib/act...
2007 Mar 31
8
Problem with setting up remote indexing
...y/1.8/drb/drb.rb:1170:in `open'' C:/ruby/lib/ruby/1.8/drb/drb.rb:1085:in `method_missing'' C:/ruby/lib/ruby/1.8/drb/drb.rb:1103:in `with_friend'' C:/ruby/lib/ruby/1.8/drb/drb.rb:1084:in `method_missing'' C:/work/myapp/vendor/plugins/acts_as_ferret/lib/remote_index.rb:25:in `id_multi_search'' C:/work/myapp/vendor/plugins/acts_as_ferret/lib/class_methods.rb:117:in `id_multi_search'' C:/work/myapp/lib/ferret_search.rb:73:in `quick_search'' ... Any clue guys? Thank you in advance for the help. -- Posted via http://www.ruby-for...
2007 Sep 07
4
Ferret DRB - can add/edit index, but can''t search
...' /usr/lib/ruby/1.8/drb/drb.rb:1167:in `open'' /usr/lib/ruby/1.8/drb/drb.rb:1082:in `method_missing'' /usr/lib/ruby/1.8/drb/drb.rb:1100:in `with_friend'' /usr/lib/ruby/1.8/drb/drb.rb:1081:in `method_missing'' /vendor/plugins/acts_as_ferret/lib/remote_index.rb:20:in `find_id_by_contents'' /vendor/plugins/acts_as_ferret/lib/class_methods.rb:120:in `find_id_by_contents'' /vendor/plugins/acts_as_ferret/lib/class_methods.rb:176:in `ar_find_by_contents'' /vendor/plugins/acts_as_ferret/lib/class_methods.rb:170:in `find_re...
2007 Jun 28
1
DRb server crashing
...y/1.8/drb/drb.rb:1169:in `open'' /usr/local/lib/ruby/1.8/drb/drb.rb:1085:in `method_missing'' /usr/local/lib/ruby/1.8/drb/drb.rb:1103:in `with_friend'' /usr/local/lib/ruby/1.8/drb/drb.rb:1084:in `method_missing'' [RAILS_ROOT]/vendor/plugins/acts_as_ferret/lib/remote_index.rb:31:in `<<'' [RAILS_ROOT]/vendor/plugins/acts_as_ferret/lib/instance_methods.rb:73:in `ferret_update'' [RAILS_ROOT]/app/models/topic.rb:61:in `update_cached_fields'' [RAILS_ROOT]/app/models/topic.rb:45:in `update_cached_comment_fields'' [RAILS_ROOT]/v...