search for: local_index

Displaying 20 results from an estimated 20 matches for "local_index".

2007 Jul 04
2
problems after gem update
...values! and in the app(here''s the stack), ArgumentError in SearchController#search wrong number of arguments (1 for 0) RAILS_ROOT: C:/INSTAN~1/rails_apps/clean/config/.. Application Trace | Framework Trace | Full Trace C:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/acts_as_ferret-0.4.0/lib/local_index.rb:220:in `ferret_enabled?'' C:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/acts_as_ferret-0.4.0/lib/local_index.rb:220:in `reindex_model'' C:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/acts_as_ferret-0.4.0/lib/local_index.rb:219:in `each'' C:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/acts_as...
2007 Jun 01
2
Is aaf multi_search broken?
Hi all, I want to use acts_as_ferret''s multi_search to search two model classes (Reviewable and Blog) at a time like @results = Reviewable.multi_search("jemen", [Blog]) and I''m always getting the error You have a nil object when you didn''t expect it! You might have expected an instance of Array. The error occurred while evaluating nil.map
2012 May 22
1
warnings met in introduce extent buffer cache for each i-node patch
...node.c b/fs/btrfs/inode.c index 892b347..e0210c9 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -4608,7 +4613,7 @@ fail_dir_item: int err; err = btrfs_del_inode_ref(trans, root, name, name_len, - ino, parent_ino, &local_index); + inode, parent_ino, &local_index); } return ret; } Thanks. Tim May 22 09:23:57 bigbox kernel: [56455.532138] ------------[ cut here ]------------ May 22 09:23:57 bigbox kernel: [56455.532146] NG: at fs/btrfs/extent_io.c:3795 free_ex...
2007 Mar 28
7
Newbie problem on production server
...ib/ruby/gems/1.8/gems/ferret-0.11.3/lib/ferret/index.rb:658:in `process_query'' /usr/local/lib/ruby/1.8/monitor.rb:238:in `synchronize'' /usr/local/lib/ruby/gems/1.8/gems/ferret-0.11.3/lib/ferret/index.rb:657:in `process_query'' /vendor/plugins/acts_as_ferret/lib/local_index.rb:87: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_rec...
2007 Nov 05
0
Partial Class Definition if Ferret Server Not Running
...plode 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 seems to be a lot of generic functionality in local_index that...
2007 Oct 01
2
FileNotFoundError
...#39;' /usr/lib64/ruby/1.8/monitor.rb:238:in `synchronize'' /usr/lib64/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:8:in `synchrolock'' /usr/lib64/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:267: in `<<'' /vendor/plugins/acts_as_ferret/lib/local_index.rb:152:in `<<'' /vendor/plugins/acts_as_ferret/lib/instance_methods.rb:73:in `ferret_create'' Thanks. Morten
2007 Jun 28
1
ThreadError from DRb server
...r/lib/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:8:in `synchrolock'' (druby:/localhost:9010) /var/lib/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:267:in `<<'' (druby:/localhost:9010) /var/www/rails/balrog/releases/20070628045633/vendor/plugins/acts_as_ferret/lib/local_index.rb:263:in `reindex_model'' ..... Has anybody else had this before? Any ideas what could have caused it? It''s only happened once. I''m using ferret 0.11.4 and aaf trunk. Cheers, -Jonathan. -- Posted via http://www.ruby-forum.com/.
2007 Jun 08
13
Errror on update after Model.rebuild_index
Hi I use Ferret 0.11.4 and the latest stabel version of the acts_as_ferret plugin. To the issue. if I do Model.rebuild_index and after that try to update one of my objects of that Model I get: File Not Found Error occured at <except.c>:117 in xpop_context Error occured in fs_store.c:329 - fs_open_input tried to open
2007 Nov 10
1
Ferret-talk Digest, Vol 25, Issue 3
Thanks Stuart. I thought I had read somewhere that rebuild_index built the index in a different location and then swapped it, but after looking at the code (in local_index.rb) this doesn''t appear to be the case. That might explain why the ferret server crashes sometimes when a search takes place during a reindex. I wouldn''t be doing exactly the same thing as this but this does get me started. I''m concerned about swapping the index...
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 Jun 18
2
"No such file or directory - script" Error on Model.rebuild
...ocal/lib/ruby/gems/1.8/gems/ferret-0.11.3/lib/ferret/index.rb:120:in `new'' from (druby://127.2.0.1:9100) /usr/local/lib/ruby/gems/1.8/gems/ferret-0.11.3/lib/ferret/index.rb:120:in `initialize'' from (druby://127.2.0.1:9100) /usr/local/lib/ruby/gems/1.8/gems/acts_as_ferret-0.4.0/lib/local_index.rb:43:in `new'' from (druby://127.2.0.1:9100) /usr/local/lib/ruby/gems/1.8/gems/acts_as_ferret-0.4.0/lib/local_index.rb:43:in `rebuild_index'' 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 `send'' from (druby:...
2006 Sep 05
15
ferret finds ''tests'' but not ''test''
Hello all, Quick question (possibly!) - I''ve got a few records indexed and doing a search for ''test'' reports in no hits even though I know the word ''tests'' exists in the indexed field. Doing a search for ''tests'' produces a result. I would have thought that ''test'' would match ''tests'' but no such
2007 Jul 13
8
More sorting problems with untokenized index
I''m having problems sorting on untokenized fields. I have one field that sorts fine, but there are others that seem to sort on a different field. Here''s the index description: acts_as_ferret :remote=>true,:fields=>{:name=>{:boost=>2},:name_for_sort=>{:index => :untokenized}, :city=>{:boost=>2}, :city_for_sort=>{:index=>:untokenized},
2007 Nov 11
5
undefined method `add''
We''ve been running into problems with ferret indexing lately. The problem is intermittent and some times it persists. Just got this after wiping the index and redeploying: NoMethodError (undefined method `add'' for Solution:Class): (druby://10.1.65.87:9009) /data/releases/20071111152414/vendor/rails/activerecord/lib/active_record/base.rb:1238:in `method_missing''
2007 Jul 24
1
Why can''t find index file sometimes?
.../local/lib/ruby/1.8/monitor.rb:238:in `synchronize'' /usr/local/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:8:in `synchrolock'' /usr/local/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:267:in `<<'' #{RAILS_ROOT}/vendor/plugins/acts_as_ferret/lib/local_index.rb:157:in `<<'' #{RAILS_ROOT}/vendor/plugins/acts_as_ferret/lib/instance_methods.rb:73:in `ferret_update'' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/callbacks.rb:333:in `send'' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/callbacks.rb:333:i...
2007 Jun 07
5
Advise on slowness in bootstrapping?
I am looking at trying to use ferret/aaf to supplement my querying against a medium and large table with lots of columns. Some facts first: Ferret 0.11.4 AAF 0.4.0 Ruby 1.8.6 Rails 1.2.3 Medium table: 105,464 rows 168 columns (mostly varchar(20)) 11 actual columns indexed in aaf plus 40 virtual columns indexed in aaf (virtual is concat of two physical columns. e.g. cast_first_name_1 +
2007 Apr 07
19
Constant 0.11.4 Errors
...synchronize'' /opt/local/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:8:in `synchrolock'' /opt/local/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:267:in `<<'' /Users/mark/Sites/www.site.com/config/../vendor/plugins/acts_as_ferret/lib/local_index.rb:140:in `<<'' /Users/mark/Sites/www.site.com/config/../vendor/plugins/acts_as_ferret/lib/instance_methods.rb:73:in `ferret_create'' /opt/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/callbacks.rb:333:in `send'' /opt/local/lib/ruby/gem...
2008 Jan 10
2
Error on manual indexing
..../config/../config/../vendor/plugins/acts_as_ferret/ lib/ferret_extensions.rb:39:in `each'' from ./script/../config/../config/../vendor/plugins/acts_as_ferret/ lib/ferret_extensions.rb:39:in `index_models'' from ./script/../config/../config/../vendor/plugins/acts_as_ferret/ lib/local_index.rb:60:in `rebuild_index'' from ./script/../config/../config/../vendor/plugins/acts_as_ferret/ lib/class_methods.rb:33:in `rebuild_index''
2007 May 22
6
Ferret file not found error on item delete
...r/lib/ruby/1.8/monitor.rb:229:in `synchronize'' /usr/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:8:in `synchrolock'' /usr/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:267:in `<<'' /usr/lib/ruby/gems/1.8/gems/acts_as_ferret-0.4.0/lib/local_index.rb:140:in `<<'' /usr/lib/ruby/gems/1.8/gems/acts_as_ferret-0.4.0/lib/instance_methods.rb:73:in `ferret_update'' As I really don''t know ferret and acts_as_ferret well, any help you could give would be greatly appreciated! Thanks! Mike -- Posted via http://www....
2012 Jun 21
0
[RFC PATCH V2] Btrfs: introduce extent buffer cache for each i-node
...fs_search_slot(NULL, root, &key, path, 0, 0); + ret = btrfs_search_slot_for_inode(NULL, root, inode, &key, path, 0, 0); if (ret < 0) goto err; @@ -4834,7 +4837,7 @@ fail_dir_item: int err; err = btrfs_del_inode_ref(trans, root, name, name_len, - ino, parent_ino, &local_index); + inode, parent_ino, &local_index); } return ret; } @@ -5247,7 +5250,7 @@ again: } ret = btrfs_lookup_file_extent(trans, root, path, - objectid, start, trans != NULL); + inode, start, trans != NULL); if (ret < 0) { err = ret; goto out; @@ -5716,...