Displaying 20 results from an estimated 20000 matches similar to: "uninitialized constant LockException"
2007 Feb 02
0
Error: uninitialized constant LockError
Hey Guys. So, I get this error every so often, and in sneaking at the code,
it seems that it could be an easy fix, where it''s looking for a LockError,
but I think it''s a LockException.
I''m on 0.10.13 with a very large index (about a million docs) that''s staged
on several servers, which are updated daily. (Using rails 1.1.6)
Thanks for all the hard work.
2006 Oct 12
3
IO Error occured at <except.c>:79 in xraise (IOError)
Hi,
after a long indexing run I got the following error. I have 149 MB space
left on the disk, the index is 311 MB large; could Ferret have tried to
use more than that for the optimizing? Or would that have resulted in a
different error message?
/usr/local/ruby-1.8.5/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/runner.rb:27:
2006 Oct 13
3
Ferret 0.10.11 & AAF: sorting Time fields doesn''t work
Ferret 0.10.11 & AAF: the time seems to be stored in a format that can''t
be sorted, the order doesn''t make any sense. Workaround: use to_i on the
Time object before putting it into the index.
--
Posted via http://www.ruby-forum.com/.
2007 Jan 11
1
Ferret Locking issues
Dave and all,
I run a medium RoR app using Ferret and acts_as_ferret. I get a lot of
lock errors. Not always but around 5% of all searches (aspecially during
peak periods). Here are the messages I get:
A NameError occurred in szukaj#index:
uninitialized constant Ferret::Index::Index::LockError
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:478:in
2006 Jan 13
2
uninitialized constant Ferret
I get this error message from the following code:
require ''rubygems''
require ''ferret''
include Ferret
index = Index::Index.new(:path => ''/tmp/index'')
index << {:title => "Programming Ruby", :content => "blah blah blah"}
index << {:title => "Programming Ruby", :content => "yada yada
2006 Nov 06
1
NameError uninitialized constant Ferret::Index::FieldInfos
Hi Everyone,
I''ve a RoR application. I am trying to build full text search capability
into it. I installed Ferret. After that I installed the act_as_ferret
plugin. I''ve also put the acts_as_ferret inside the <model>.rb file .
I''m using the find_by_contents to get the search results.
I''m getting the following error. I''ve no clue and I
2006 Aug 29
7
uninitialized constant UNTOKENIZED
I''m getting "uninitialized constant UNTOKENIZED" when I try to do
something like the following:
class Url < ActiveRecord::Base
acts_as_ferret :fields => {''name'' => {},
''description'' => {},
''url'' => {:index =>
Ferret::Document::Field::Index::UNTOKENIZED},
2009 Feb 10
3
uninitialized constant ActsAsFerret (NameError)
Hi all,
I have another problem that I fight with for some time and I could not
understand where is the problem. Probably the problem is that I am quite
"green" in RR :)
I am trying to make the Demo Application that comes with Ferret to work
but I guess something with my environment is not OK.
I will do apreciate any help.
[root at moonlight FerretDemo]# ./script/server
=> Booting
2006 Oct 18
3
[Bug] Seg Faulting in index.rb:718
Hey,
Ferret is repeatedly seg-faulting my mongrel servers on the same line:
/usr/local/lib/ruby/gems/1.8/gems/ferret-0.10.11/lib/ferret/index.rb:718:
[BUG] Segmentation fault
ruby 1.8.5 (2006-08-25) [i686-linux]
I''m using ferret 0.10.11. I haven''t had the time to dig into yet, it''s
on the backburner right now - I just keep several spare servers and
restart them
2006 Dec 01
2
Ferret on Apache Installation
Hi,
had my local linux box setup and ferret was working like a champ via
Webrick.
However, when I moved to a different linux box using Apache web server,
search no worky..giving the error listed below. The site itself comes up
fine.
I''ve tried deleting all the dirs under /index and restarted the
webserver to see if re-indexing would help, but that made matters worse.
Re-indexing
2006 Sep 04
5
uninitialized constant BooleanClause
I''ve installed the latest Win32 gem and the acts_as_ferret plugin (i
checked out the files and placed them in the vendor/plugins directory).
When I try to search I get the following error:
uninitialized constant BooleanClause
RAILS_ROOT: ./script/../config/..
Application Trace | Framework Trace | Full Trace
2006 Sep 15
3
Crashes and tests failures again with 0.10.4
In the beginning 0.10.4 looked promising, but now that my index has
grown to > 100 MB I''m getting segfaults on some searches again:
>> Post.find_by_contents(''rubyforum'')
# ok
>> Post.find_by_contents(''ruby-forum'')
/usr/local/lib/ruby/gems/1.8/gems/ferret-0.10.4/lib/ferret/index.rb:351:
[BUG] Segmentation fault
ruby 1.8.4 (2005-12-24)
2006 Oct 12
2
Patching ferret problems...
Hi dave, and everyone ;)
I''ve finished my extension to export Index.search(..) loaded results
into json.
Here''s a little benchmark of what i''ve done :
>> Benchmark.realtime { INDEX.search(query, :limit => 1000).hits.each { |x| INDEX[x.doc].load.to_json } }
=> 7.38711595535278
>> Benchmark.realtime { INDEX.search(''type:hardware'',
2006 Oct 12
3
Ferret::StateError while using acts_as_ferret
I''m fairly new to ferret / aaf and finding it much easier to use than
HyperEstraier (which I migrated from). However, I am getting a few
errors and I need to figure out if they''re problems with my usage of
ferret or a bug I should report. I''m currently running Ferret 0.10.11
with acts_as_ferret (latest via svn external) and 3 times today I''ve
seen the
2006 Oct 16
0
seg fault, ferret 0.10.11
Hi, we''re using Ferret 0.10.11 with acts_as_ferret (stable from svn), on
a unix box, running rails 1.1.6 in production. a few days ago i rebuilt
the index (by deleting the previous one and letting acts_as_ferret do
its thing), and it ran fine for a few days. this evening i got a seg
fault when one of the indexes was being updated via aaf, and now all
ferret searches are busted,
2006 Aug 15
8
Ferret 0.10 series
Hi David,
>> Otherwise I''m fully committed to getting 0.10 out.
>> When it is out, I''d recommend getting it into your
>> development app as soon as you can.
Any idea of timeframe to a 0.10 alpha release?
Kind Regards
Neville
2006 Oct 16
2
Ferret::QueryParser::QueryParseException
During our last week of Ferret / aaf usage (also our first week of
Ferret / aaf usage), I have received 8 messages stating that our app
encountered a Ferret::QueryParser::QueryParseException. For instance:
A Ferret::QueryParser::QueryParseException occurred in foo#search:
Error occurred in src/q_parser.y:279 - yyerror
couldn''t parse query "com -- 404". Error message
2006 Sep 16
4
nfs shared and ferret segfault
Hi,
I use ferret 0.10.4 whith shared index over NFS directory.
There are 2 applications servers. The web server is Mongrel 0.3.13.3
and mongrel_cluster 0.2.0. There are 20 Mongrel processes on each
server.
Each time my application update a model, Mongrel process
stops running with this errro in its log:
/usr/lib/ruby/gems/1.8/gems/ferret-0.10.4/lib/ferret/index.rb:663:
[BUG] Segmentation fault
2006 Oct 18
2
install ferret on windows
Hi!
I''m trying to install ferret on windows, so I chose
ferret-0.10.9-mswin32.gem from the download page, as it includes a
already pre-compiled ferret_ext.so (is that correct?) and I don''t have
any C compiler here. The gem installed it correctly, but the test didn''t
work. So I called these commands:
rake ext
ruby setup.rb config
ruby setup.rb setup
ruby setup.rb
2006 Oct 25
3
i cant install acts_as_ferret
This is what happens when i try to get acts_as_ferret ...."nothing
much"....
Please help me and excuse me if its really dumb, i''m new to this! thanks
C:\rails\app>gem install ferret
Attempting local installation of ''ferret''
Local gem file not found: ferret*.gem
Attempting remote installation of ''ferret''
Updating Gem source index for: