Displaying 20 results from an estimated 5000 matches similar to: "RAMDirectory with acts_as_ferret"
2006 Jul 05
1
search speed eclipsed by retrieval speed
Hi all,
I''ve recently started working with Ferret and I''m getting what seems to
be slow searches. I have about 10000 documents in the index, with
several fields per document, with some fields having an array of several
values that are indexed.
I am using a RAMDirectory to store the index for searching. When doing
testing, I find that searches are reasonable at around .2 to
2007 Mar 12
5
index.rb:384 [BUG]
Hi folks,
I''ve working and playing with acts_as_ferret and follow this fantastic
tutorial:
http://www.railsenvy.com/2007/2/19/acts-as-ferret-tutorial
When I try to implement the field storage tip, it crash. So, I try to
make it via script/console:
1. I have a simple model called Articles:
class Article < ActiveRecord::Base
acts_as_ferret :fields =>
2006 Aug 28
1
stop words and /''s
Hi new version of ferret and acts as ferret have sorted out the scary
glibc *** linked list pointer errors, thank god! New version are good
but some searches are still not working. It is mostly the stop words
ones. For example the "For Sale/Free/Swap" fails but works when "for" is
stripped out. I have read all the recent posts regarding this issue and
failed to get it to
2006 Jul 19
4
sorting and pagination
Hello All,
Okay i think I''m finally getting all of what i want out of ferret
working, thanks mostly to reading this forum and also getting ALOT of
questions answered, thanks alot everyone. Anyway my last ferret task is
too get the results sorted by a field called date_registered and have
this working with pagination.
here is what i''m doing at the moment:
2006 Aug 26
7
Erratic behavior with ferret 0.95 and acts_as_ferret
I am getting this issue also... Does anyone know what this is? When will
Acts as Ferret be available for v10?
Thanks for your help in desperation!
Caspar wrote:
> Okay previous post related to me trying to fix this problem with an
> upgrade to ferret 0.10.0 but acts as ferret is obviously not compatible
> with this new version of ferret.
> My app is about to go into production and
2006 Jul 09
3
acts_as_ferret.. what does it actually do?
Okay in this plea for help I''m going to repeat some of what i posted
before but with a larger amount of background info in the hope that i
can get a decent grip on ferret before it wriggles away..
Firstly, what does installing the acts_as_ferret plugin actually do? I
install it and add it to my model and then the index is automatically
generated and a few methods are added to it and
2006 Jul 07
1
querying the SearchResults instance
Hi how do you search against the results returned by find_by_contents
using ferret?
i.e. how do you "search within these results"?
This is an acts_as_ferret question again...
thanks in advance..
cheers
caspar
--
Posted via http://www.ruby-forum.com/.
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
2007 Jul 27
6
Problem with installing acts_as_ferret plugin
Hi all,
when I type this:
ruby script/plugin install
svn://projects.jkraemer.net/acts_as_ferret/tags/stable/acts_as_ferret
from my rails project the plugin is not getting installed, its simply
going back to my rails application.
I don''t find the plugin in the vendor/plugin directory
I am using Instant Rails for your information. Could anyone please let
me know whats going wrong...
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:
2007 Apr 19
5
Chinese full text searching by acts_as_ferret?
How to add Chinese language full text searching function by using
acts_as_ferret?
RegExpAnalyzer.new(/./,false)
this analyzer, i don''t know how to use it!
does it works like this:
user searching---->acts_as_ferret---->ferret
????
--
Posted via http://www.ruby-forum.com/.
2006 Aug 19
4
acts_as_ferret causing strange behaviour
I posted this issue as a bug on the acts_as_ferret trac
(http://projects.jkraemer.net/acts_as_ferret/ticket/36) but need to get
this working asap. so hopefully someone can point me in the right
direction.
To try and sum this up in better terms than I used in the original bug
report, the problem I am experiencing seems to be related to the fact I
am using inheritance in my controllers.
I
2007 Jul 17
3
two acts_as_ferret questions!
hi, guys:
two acts_as_ferret questions!
1, ruby script/plugin install
svn://projects.jkraemer.net/acts_as_ferret/tags/stable/acts_as_ferret
sh: svn: command not found
i can not install acts_as_ferret to my Rails project.
what''s wrong? i''m useing rhel 4!
2, i downloaded the acts_as_ferret-0.4.0.tgz at
http://rubyforge.org/frs/?group_id=2916&release_id=10617
and uploaded to
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:
2007 Jun 19
2
offline installation of acts_as_ferret gem
hi folks,
I have been trying to use acts_as_ferret in my rails app.I
have installed the ferret gem.I would like to download acts_as_ferret
gem and then install it offline.But i was unable to find any link for
download..please let me know if any one has did it before...
any help appreciated...thanks in advance....
regards,
venkat
--
Posted via http://www.ruby-forum.com/.
2006 Apr 13
10
Typo and acts_as_ferret rebuild_index errror
Hi, I''m running the edge Typo and the latest acts_as_ferret plugin and
ferret gems (as of 11 April).
In my Content model I put acts_as_ferret :fields => [:title, :body]
In the console, I call Content.rebuild_index to index all of my existing
content. All the directories get created etc, but I get the following
error back:
Loading development environment.
>>
2006 Oct 31
5
conditional boost? friends to come up at top of search...
Hey guys, im trying to get my friends to come up at the top of the act
as ferret search. I would query the whole result set first, then move my
friends to the top, but the thing is, Im paginating my results and use
the offset and limit parameters in the multi_search() function.
Anyone know how to do this?
Thanks in advance...
--
Posted via http://www.ruby-forum.com/.
2006 Oct 19
6
not able to install acts_as_ferret
I have an older version installed and want to try the latest ferret/aaf
to see if it solves some perf problems, but haven''t been able to get aaf
on multiple tries on multiple days now.
script/plugin install
svn://projects.jkraemer.net/acts_as_ferret/trunk/plugin/acts_as_ferret
svn: Can''t connect to host ''projects.jkraemer.net'': Operation timed out
Has
2007 Jun 24
4
Resetting ferret index before test runs
I need to reset the ferret index between test runs.
It seems like there are a few ways to reset the ferret index.
* Deleting the index directory -- is this really bad form?
* calling rebuild_index
* (any others?)
What would y''all recommend? (Sorry, I''m from Texas)
Preferably, I''d like a way to reset the index that I can integrate
into a selenium test.
-David
2006 Jul 21
3
acts_as_ferret with has_many relationship
Using Ferret and the acts_as_ferret plugin, I would like to retrieve
results based on models descended from a parent model:
class Post < ActiveRecord::Base
acts_as_ferret :fields => [ ''title'',
''body'',
:post_author,
:post_comments
]
...
has_one :author
has_many :comments
end
I would like to