Displaying 20 results from an estimated 11000 matches similar to: "uninitialized constant Ferret"
2006 Sep 22
1
QueryParser bug?
I cooked up a little script to show what I mean. This doesn''t look right
to me, but maybe I just completely misunderstand QueryParser.
Same output on mswin32, unix, ferret 0.9 and 0.10
Cheers, Sam
require ''rubygems''
require ''ferret''
p Ferret::VERSION # 0.10.6
index = Ferret::Index::Index.new()
index << {:title => "Programming
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 May 12
2
Problems installing on Fedora
Hello everyone,
I am new to Ferret and new to this mailing list. I am having a problem
installing.
sudo 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: http://gems.rubyforge.org
Building native extensions. This could take a while...
2006 Oct 03
4
newbie question
Hi,
I''m new to using ferret (and fairly new to ruby/rails) and I''m having a
problem I can''t fathom. Sorry for the long post ...
I have a test which passes
require ''rubygems''
require ''ferret''
include Ferret
require ''test/unit''
class CompanyTest < Test::Unit::TestCase
def test_index
puts ''running
2006 Oct 03
4
newbie question
Hi,
I''m new to using ferret (and fairly new to ruby/rails) and I''m having a
problem I can''t fathom. Sorry for the long post ...
I have a test which passes
require ''rubygems''
require ''ferret''
include Ferret
require ''test/unit''
class CompanyTest < Test::Unit::TestCase
def test_index
puts ''running
2006 May 23
13
acts_as_ferret 0.2.1 segfault
Hi,
I just installed via script/plugin from the stable svn tag. (Revision 54)
I''m running Rails 1.1.2 and have Ferret 0.9.3 (with C extensions. no
compilation problems)
I put together a simple model to test it and I''m getting a segfault.
The model:
class Report < ActiveRecord::Base
acts_as_ferret :fields => [:title, :name]
end
$ script/console
Loading development
2006 Jan 10
18
Ferret with IMAP dirs
I''d like to use ferret to build an imap indexer and search utility, but
want to check first to see if anyone else is working on this and offer
my help. Anyone?
Also, if you could provide any helpful pointers on indexing directories
via ferret, it''ll be very much appreciated. I''m a lucene nuby.
Thanks!
John
--
Posted via http://www.ruby-forum.com/.
2006 Oct 17
9
Ferret Smoke Test
Hey folks,
I''ve added a smoke test script to Ferret. It is named smoke_test.rb
and it can be found in the base of the working directory.
So what are you supposed to do with it you ask? Well, if you want to
help keep Ferret working on your system of choice then set up a cron
task to run this script regularly. What the script does is call `svn
update` to get the latest working revision.
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 Jan 10
4
Problem creating MockController
Hi there,
I''m trying to create a mock controller to test the use of UrlHelper in
ActionMailer. I''m trying this:
require
''d:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.0/lib/action_controller''
# Re-raise errors caught by the controller.
#class DiscussionsController; def rescue_action(e) raise e end; end
class MockController < ActionController::Base
def
2006 Feb 28
14
Multiple Models w/ acts_as_ferret
I have multiple models all with:
acts_as_ferret :fields => [...]
(models = profiles, blogs, comments )
When I restart the server and perform any crud operation on one of the
above models, the index is created/updated. If I then go and perform
any crud operation on ANOTHER model, ...the index from that first model
is being updated.
Any ideas? Can acts_as_ferret handle this?
Thanks
2006 May 26
8
Comparing two documents in the index
I want to compare two documents in the index (i.e. retrieve the cosine
similarity/score between two documents term-vector''s). Is this possible
using the standard Ferret functionality?
Thanks in advance,
Jeroen Bulters
--
Posted via http://www.ruby-forum.com/.
2006 Sep 22
15
Win XP / Ferret & Acts_as_ferret .dump problem
Hey,
Has anyone managed to bypass or fix the ferret''s .dump method problem?
When I include acts_as_ferret my whole rails app just blows up because
of Ferret''s .dump method. Ex:
---
print "\t hello".dump >> "\t hello">Exit code: 0
---
---
require ''ferret''
print "\t hello".dump >> " hello"(NUL
2010 Aug 23
3
Unable to upload images using native rails file upload
I am a rails newbie and am trying to build my first app. I have a jobs
and categories controller and models respectively.
CONTROLLER:
def new
@job = Job.new
@catergory = Catergory.all
respond_to do |format|
format.html # new.html.erb
format.xml { render :xml => @job }
end
end
#THIS IS A group of 10 RADIO_BUTTONS TO SELECT A CATEGORY FROM. BY
DEFAULT THE FIRST
2006 Jun 06
1
stack level too deep
Iam new to ferret Iam trying to do a sample application on ferret
this is my code:
class SearchController < ApplicationController
require ''ferret''
include Ferret
index = Index::Index.new(:path => ''/path/to/index'')
def list
end
def index
index << {:title => "Programming Ruby", :content => "blah blah
blah"}
2006 Nov 30
2
Fatal error when require ferret
Hello list,
I just started using ferret and it really doesn''t go my way.
Doing
gem install ferret outputs ->
make install
/usr/bin/install -c -m 0755 ferret_ext.so /var/lib/gems/1.8/gems/
ferret-0.10.13/lib
make clean
Successfully installed ferret-0.10.13
Installing ri documentation for ferret-0.10.13...
Installing RDoc documentation for ferret-0.10.13...
In ferret.rb ->
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},
2008 Mar 01
3
Possible bug when creating a Ferret::Search::Sort object?
I may have run across a bug in Ferret: if throws a segmentation fault
when I try to create a Sort object using the default fields (SCORE and
DOC_ID), but setting reverse to true.
Here''s the minimal example:
#!/usr/bin/env ruby
require ''rubygems''
require ''ferret''
Ferret::Search::Sort.new
Ferret::Search::Sort.new(
[
2007 Jun 22
2
clean uninstall for ferret
I installed ferret and it cleaned me out!!!
I do the following:
__________________________
# gem install ferret
Need to update 4 gems from http://gems.rubyforge.org
....
complete
Select which gem to install for your platform (i386-linux)
1. ferret 0.11.4 (ruby)
2. ferret 0.11.4 (mswin32)
3. ferret 0.11.3 (ruby)
4. ferret 0.11.2 (ruby)
5. Skip this gem
6. Cancel installation
> 3
Building
2006 Aug 17
3
Ferret locks up when adding items to an index
I''m running Ferret 0.9.5 on a MacBook Pro (OS X 10.4.7) under
Locomotive 2.0.7.
I have a problem where Ferret is hanging when I try to add items to
the index. It doesn''t happen with every object that''s being indexed,
and I''m not sure what the objects in question have in common (they
are not all instances of the same ActiveRecord object). The process