Displaying 20 results from an estimated 3000 matches similar to: "[AAF] acts_as_ferret 0.4.0 released"
2007 Feb 04
10
[AAF] remote indexing via DRb with acts_as_ferret
Hi!
Aaf trunk has undergone several major refactorings the last days, with
the result that you can now transparently switch your app from local
to remote indexing and back :-)
If you plan to scale your app to more than one physical machine, or
if you have problems with corrupted indexes and the like under high
load, you really should give this a try.
I wrote some documentation to get you
2007 Jun 04
5
Sorting and getting occurrences of search in hit
Is there any way you could get the number of occurrences of the search
in one hit?
In a result I get the ferret_rank and ferret_score but not how many hits
the search generated in the current record.
I would also like to be able to sort after this when I search.
/mattias
--
Posted via http://www.ruby-forum.com/.
2006 Sep 09
2
acts_as_ferret 0.3.0
Hi,
just wanted to officially announce the release of acts_as_Ferret 0.3.0.
As you see, I''m trying to catch up with Ferret''s version numbers ;-)
svn://projects.jkraemer.net/acts_as_ferret/tags/0.3.0/
or
svn://projects.jkraemer.net/acts_as_ferret/tags/stable/
This release is now tagged stable, so in case anybody has used the old
stable release via an svn external, please
2006 Sep 14
1
acts_as_ferret with has_many :through relationships?
I am currently using acts_as_ferret to search on a Posts table (title
and content fields). These posts also have tags (with has_many :tags,
:through => :questions_tags). I can''t figure out how to get
acts_as_ferret to work with that relationship and allow searching of
title, content, And tags at the same time (with the ability to set
boost as well). Can this be done?
--
Posted via
2006 Nov 30
1
usage and benefits of single-index with AAF
The documentation states:
"single_index: set this to true to let this class use a Ferret index
that is shared by all classes having :single_index set to
true. :store_class_name is set to true implicitly, as well as
index_dir, so don?t bother setting these when using this option. the
shared index will be located in index/<RAILS_ENV>/shared ."
[1] If I''m reading
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 Jul 10
2
acts_as_ferret 0.2.2
Hi all,
I just tagged acts_as_ferret 0.2.2 as the current stable version, so get
it while it''s hot ;-)
new features:
- added support for the multiple models/single index approach.
- find out the total number of search results by calling total_hits on
the array returned by find_by_contents.
fixes:
- trac tickets #20 (find_by_contents breaks ferret sorting) and #24
2007 Sep 06
5
Find by contents and missing ferret_score method
Hi,
i m using acts as ferret via the find_by_contents, and then i my trying
to get the score of each results...
But the score of ferret_score method is missing...
I ve got the @total_hits in the array, but not the @score one :/
What s going on ?
Is this method disappear in acts_as_ferret ?
thanks
Guillaume.
--
Posted via http://www.ruby-forum.com/.
2007 May 22
1
Bug in Ferret::Search::SortField::SCORE ??
i have been trying to get this to work for a while now. my controller
is
sort = [ Ferret::Search::SortField::SCORE_REV ]
@results = Record.multi_search(params[:search_terms], [ Link, Post,
Event ], {:limit => :all, :sort => sort })
and in my view i just render a conglomeration of the appropriate
partials for each model. it seems that no matter what i do, i can''t get
the
2007 Jul 03
4
problems with acts_as_ferret
Hi,
I have i am trying to add a search feature to a ruby on rails blog, so
ive decided to use ferret. So far i have had quite a few problems with
it, from following a few tutorials i didnt really understand... i am at
the point where i can make a search and it returns the score of the
result. I want it to also show the title of the post and i think i have
implemented it correctly but it
2006 Oct 16
10
Sorting by score
Hi I think this is a very easy question but here goes:
I want to sort my results by a boolean field and then by score, I
thought this would be a default configuration but apparently not.
sort_fields = []
sort_fields << Ferret::Search::SortField.new(:sponsored, :reverse =>
:true)
that is my current code, how do iu alter it so that the results are then
sorted by highest score first?
2007 Mar 31
5
DRb server & aaf gem
I''m having problems getting the DRb server running with the aaf gem.
I tried it with the plugin installed in my application, and it
worked. I suspect the problem has something to do with the startup
scripts expecting certain files to be in certain relative file paths.
Any insights are appreciated, and maybe if you have time you can
update the wiki document :)
Thanks for a great
2007 Sep 21
3
multi_score?
Hi!
I''m using acts_as_ferret in my rails project and i need to order the
search results by a combination of the result given by ferret (score)
and a ranking in the database (normalized also). this combination can be
like that:
0.4*ferret_score+0.6*database_score
this database_score is also indexed
any idea?
and someone know how to access the ferret data in the object returned by
2006 Nov 01
8
aaf and stop words; query parser
I''ve been trying to implement acts_as_ferret in my latest project and ran into a snag. If I do a search for ''auditor state'' then the search works perfectly. If I include a stop word, as in ''auditor of state'', then I get no results. I''d prefer not to set stop words to nil and index everything.
The solution, that I have yet to attempt, is to use
2006 Sep 20
5
acts_as_ferret limit on multi_search not working?
I''m using acts_as_ferret to do a query like this:
Model1.multi_search("my query",[Model2,Model3], :limit => 2)
No matter what number i set limit to I get 10 items in the resultset. Am
I doing something wrong?
Thanks/David
--
Posted via http://www.ruby-forum.com/.
2007 Jun 01
2
Is aaf multi_search broken?
Hi all,
I want to use acts_as_ferret''s multi_search to search two model classes
(Reviewable and Blog) at a time like
@results = Reviewable.multi_search("jemen", [Blog])
and I''m always getting the error
You have a nil object when you didn''t expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.map
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
2006 Dec 01
4
Functional Testing AAF Plugin
Is there a way to reliably test the acts_as_ferret plugin using RoR
functional tests? I load my fixtures and no matter what I do, the test
won''t return a result for what *should* be a query that returns results.
Any help on this would be greatly appreciated.
FIXTURE
********
article_001:
id: 1
title: some valid article title
2007 Mar 06
3
aaf excluding certain db records from indexing
hi!
short question about aaf:
is there a builtin functionality in acts_as_ferret to exclude records
from being indexed when for example a column "is_deleted" /
"is_disabled" / "dont_index" has a certain value?
regards
neongrau
--
Posted via http://www.ruby-forum.com/.
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: