Displaying 20 results from an estimated 40000 matches similar to: "Ferret and rails question"
2006 Mar 15
4
ActiveRecord::RecordNotFound in search results act_as Ferret
Hello,
I''ve installed the Ferret gem and also got the act_as_ferret code from
the wiki.
I''ve set up my model "Branch" to act as ferret using the code below.
acts_as_ferret :options => {:fields => [''name'', ''body_text'', ''address'']}
I''ve also set up a ferret_controller with the code below
def find
2008 Jan 21
4
Rails app cannot connect to Ferret server
I have installet the Ferret gem v. 0.11.6 and the latest acts_as_ferret
plugin from
svn://projects.jkraemer.net/acts_as_ferret/tags/stable/acts_as_ferret
I''ve followed the instructions here
http://projects.jkraemer.net/acts_as_ferret/wiki/DrbServer to set up the
server, and put acts_as_ferret :remote => true on one of my models (Ad)
I can also start the ferret_server, but when
2007 Aug 19
4
SVN installation problem in ferret
Hello,
I am not able to run this command given in the tutorial
http://projects.jkraemer.net/acts_as_ferret/
*Inside your Rails project*
Please use
script/plugin install
svn://projects.jkraemer.net/acts_as_ferret/tags/stable/acts_as_ferret
gem is installed.
i have added the desired line in environment.rb as well
but while running this particular command of svn://.. nothing actually
2006 Aug 12
4
Ferret Wierdness
Hi,
I have installed the ferret gem (on WIN XP). My search and result view
is working, but it comes back with empty results all the time. It seems
like ferret is building the index (there is 3 binary files in the index
directory).
If I add the line:
acts_as_ferret :fields => [''title'',''description'',''price'',''website_url'']
2006 Aug 24
2
acts_as_ferret for Ferret 0.10
Hi all,
the current acts_as_ferret trunk is now ported to Ferret 0.10.
Get it while it''s hot at
svn://projects.jkraemer.net/acts_as_ferret/trunk/plugin
Nearly everything works, besides this:
- all queries are ORed (no way to tell the QueryParser to build AND
queries by default)
- more_like_this is broken
I''m working with Dave to fix these things soon. The last Ferret 0.9.x
2006 Dec 21
12
Ferret and Godaddy.com
Ok, first up, I''m a Rails newbie. My site is hosted on godaddy.com
Godaddy has the Ferret GEM installed by default. They do not have
acts_as_ferret installed so I can''t use that.
I''m trying to follow the tutorial on the Ferret wiki
http://ferret.davebalmain.com/trac/wiki
It includes all of the code I need, but it doesn''t tell
2006 Jun 26
3
Installing ferret on windows
Hello, Im running rails 1.1.2 and ferret 0.9.3 and cant install
act_as_ferret.
I tryed the following instruction at act_as_ferret wiki:
"Installation
Please use
script/plugin install
svn://projects.jkraemer.net/acts_as_ferret/tags/plugin/stable/acts_as_ferret
for easy installation of the current stable version of the plugin. At
the moment this is version 0.2.1 based on Subversion Rev.
2007 Sep 17
3
Ferret FileNotFound error
Hi,
I have a model that I''ve been indexing and searching with ferret some
problem.
We get the following error when accessing the model
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 "/var/www/html/cuproject/index/development/album/_b.cfs"
but it doesn''t exist: <No such file or
2007 Feb 22
5
Combine ferret with database
Hello list,
I wonder if someone has some tips on joining a ferret search with a
database.
I have a rails project using a postgresql backend and I would like to
utilize the superb performance of ferret for fulltext searching.
The problem is that I have to joined the result with the database as
I have some user access rights to different documents to take into
account.
Does anyone have
2007 Sep 12
3
Can''t disable ferret when running in Mongrel
In my environment.rb I say the following:
MyModel.disable_ferret
puts MyModel.ferret_enabled?
The console works as expected:
script/console
false
>> MyModel.ferret_enabled?
=> false
I can then edit an instance, ferret remains disabled and the changes
are not immediately indexed.
However, when I start mongrel Ferret is initially disabled, but then
somehow becomes enabled again
2006 Jul 19
4
Ferret Indexing
Does ferret only index, when you create, or udpate a record?
Is there a way to make it index prexisting records?
Thanks.
--
Posted via http://www.ruby-forum.com/.
2007 Jul 06
6
Ferret::FileNotFoundError - delete
Hi,
we are using ferret and acts_as_ferret in a single server setup. We have
2 models that use acts_as_ferret.
We are running into problems where a create or update of the models
cause a ferret error
Ferret::FileNotFoundError occured at <except.c>:117 in xpop_context
Error occured in fs_store.c:329 - fs_open_input
Where the file that needs to be opened isn''t there.
The error
2007 Sep 20
5
Ferret DRB, UTF-8, Mongrel
I have spent days trying to figure out how to get UTF-8 working with my
site.
Here''s my environment:
Linux version 2.6.16.29-xen_3.0.3.0
Ruby 1.8.4 (2005-12-24 [i386-linux]
Rails 1.2.3
mongrel (1.0.1)
mongrel_cluster (1.0.2, 0.2.1)
ferret (0.11.4)
acts_as_ferret stable plugin
Ferret DRB server
When I don''t use an analyzer with my acts_as_ferret declaration,
everything works
2006 Aug 14
3
Ferret 0.9.5
Hi,
I was wondering if the latest version of acts_as_ferret (0.2.2) that is
listed on http://projects.jkraemer.net/acts_as_ferret/ is compatible
with the latest version of Ferret 0.9.5. I noticed that the website
above stated that it was supposed to work with 0.9.4, but I didn''t see
anything about 0.9.5.
Thanks,
Aaron
--
Posted via http://www.ruby-forum.com/.
2006 Oct 09
2
hello, acts_as_ferret questions, any help greatly appreciate
hi, ive been reading up on ferret, acts_as_ferret, and other search
plugins for rails.
after reading about ferret, i found out about the acts_as_ferrt plugin.
my first question about acts_as_ferret:
1. from reading about ferret, do i still need to manually save the IDX
and add a IDX column field to my model table for acts_as_ferret to work?
they say that acts_as_ferret handles everything,
2007 Aug 31
4
ferret acts_as_ferret and performance
hello,
I am actually indexing thousands of 1ko text documents using ferret and
acts_as_ferret, and i face performance problems.
I takes me hours to index 20 000 1ko text documents.
Methology used :
I create and object, fulfill it with the text, and save it. So it is
automaticly indexed.
Is there a way to make it faster ? ( remove the auto optimize option
somewhere ?)
Thank you if you have any
2007 Oct 03
3
The ferret logs
Hi.
We''ve had some problems with ferret not being able to load our classes
(stack trace below for the curious).
I nailed it down to a deployment issue, where an old instance of ferret
drb was running. I don''t understand the details quite yet, but the
result was the the old ferret was never shutdown during redeployment,
and attempts were made to start up a new one.
Anywho,
2007 Jul 24
4
Act as Ferret supports Conditional search?
Hi all,
Im a newbie to ferret.I have installed the act_as_ferret gem and i
actually want to search for some content in the model,but per user.
My model has data,user_id.So within the data column i have to serach for a
word if it exists for a given user.
So can i achieve that ? presently i know that it just searches the "data"
column irrespective of the user given.
Can someone help me
2010 Jan 03
9
ferret search in production
Hi there,
after recently deploying my app, I have noticed that the search
results are not being displayed...
When I look in my app, I also notice that the apps content (search
criterea) is not being indexed, so I dont have an index folder being
created.
I read on a google post that it may be that the ferret.yml server
isn''t started (or perhaps the content of this file are not right)
I
2007 May 31
2
Ferret.donate(Money.aus_dollar(200))
Remember folks, we can support the Ferret project by donating warm soft
electronic cash to the author, Dave Balmain, using the paypal buttons on
the website:
http://ferret.davebalmain.com/trac
http://ferret.davebalmain.com/trac/wiki/DonationsFAQ
We can also buy the Ferret Shortcut pdf/book from O''Reilly, also written
by Dave Balmain. It''s awesome good: