Displaying 6 results from an estimated 6 matches for "ensure_writer_open".
2006 Aug 24
4
[0.10.0] Index#search_each options ignored
Hi Dave,
The options hash is not used in search_each() method.
--
Posted via http://www.ruby-forum.com/.
2006 Aug 24
5
[0.10.0 - acts_as_ferret] Problem while saving new items
Disclaimer: ferret newbie here, don''t blame too hard.
Hi, I''m trying to apply acts_as_ferret to apply search to my Person
model:
class Person < ActiveRecord::Base
validates_presence_of :name, :surname
acts_as_ferret :fields => [ ''name'', ''surname'' ]
...
But when I try to save a new Person instance I get this error:
2006 Oct 24
1
Locking issues when adding to the Index
..._context
Error occured in index.c:5368 - iw_open
Couldn''t obtain write lock when opening IndexWriter
):
/usr/lib/ruby/gems/1.8/gems/ferret-0.10.13/lib/ferret/index.rb:
664:in `initialize''
/usr/lib/ruby/gems/1.8/gems/ferret-0.10.13/lib/ferret/index.rb:
664:in `ensure_writer_open''
/usr/lib/ruby/gems/1.8/gems/ferret-0.10.13/lib/ferret/index.rb:
276:in `<<''
/usr/lib/ruby/1.8/monitor.rb:229:in `synchronize''
/usr/lib/ruby/gems/1.8/gems/ferret-0.10.13/lib/ferret/index.rb:
254:in `<<''
/app/models/index.rb:105:i...
2006 Aug 30
7
AAF Sorting by date - what am I doing wrong?
I''m trying to sort my search results by Date, in descending order. I''ve
done quite a bit of reading through the forums here, and I''ve tried two
different suggestions.
This just returns results in the same order as a search without a sort:
sort_fields = []
sort_fields <<
Ferret::Search::SortField.new("ferret_created_at",:reverse => :true)
2007 Jan 18
4
[ActsAsFerret] Index Directory Disappears and Not Re-created
...clearing all files in
/var/www/apps/accounts/current/config/../index/production/account: <No
such file or directory>
):
/usr/lib/ruby/gems/1.8/gems/ferret-0.10.13/lib/ferret/index.rb:664:in
`initialize''
/usr/lib/ruby/gems/1.8/gems/ferret-0.10.13/lib/ferret/index.rb:664:in
`ensure_writer_open''
/usr/lib/ruby/gems/1.8/gems/ferret-0.10.13/lib/ferret/index.rb:270:in
`<<''
/usr/lib/ruby/1.8/monitor.rb:229:in `synchronize''
/usr/lib/ruby/gems/1.8/gems/ferret-0.10.13/lib/ferret/index.rb:254:in
`<<''
/vendor/plugins/acts_as_ferret/lib...
2006 Aug 25
6
End-of-File Error occured at <except.c>:103 in xpop_context
Hi, I get this when searching or adding a new record. I am using today''s
version of trunk and gem ferret 0.10.0
any ideas? thanks!
EOFError in DvbesController#new
End-of-File Error occured at <except.c>:103 in xpop_context
Error occured in store.c:197 - is_refill
current pos = 0, file length = 182
RAILS_ROOT: script/../config/..
Application Trace | Framework Trace | Full