search for: aaf

Displaying 20 results from an estimated 303 matches for "aaf".

Did you mean: aa
2006 Sep 03
9
using highlight from aaf
Hi, I''m trying to use highlight ferret method with trunk aaf and 0.10.1 ferret. In my search display I use: Myindexedclass.ferret_index.searcher.highlight(@query, result_line.id, :content) * searcher is a protected method; how can I access to the searcher from aaf ? * is the doc id in aaf the same as my model id ? * is the first param, query, the string...
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 docu...
2006 Nov 17
4
undefined method `exists?''
Anyone ever run into this error message when creating a new FieldInfos? Ferret::Index::FieldInfos.new(:store=>:no) NoMethodError: undefined method `exists?'' for {:store=>:no}:Hash -- Posted via http://www.ruby-forum.com/.
2007 Jul 27
2
AAF index updated when record is deleted?
Got it all running nicely now for a few days but noticed something funny. I have a table were lots of records get added, deleted every day. I can see the added records being added by AAF to the index but I notices some "ghost" results when doing searches. The search returns record ID-s that do not exist anymore because they were deleted. Does AAF also remove entries from the index when records are deleted in the model ? regards -- Posted via http://www.ruby-forum.com/.
2007 Sep 11
2
Newcomer perceived problems with AAF/Ferret
I blogged about some of the problems with aaf in production (http://www.jroller.com/BrightCandle) yesterday but inspired by the poitive response I thought I would share the perceived problems and discuss some of the potential solutions to help newcomers and make aaf work as if by magic just like Rails does. All of these problems boil down to...
2007 May 31
5
complete index rebuild using AAF trunk
I am using AAF trunk, and I want a way to rebuild an index on a production site with little or no interruption to service. The Drb Server documentation* states that when an index is rebuilt, it is done in a separate location and then swapped into place when finished, and so to do a complete rebuild on a l...
2007 Sep 11
2
How to search with range when I am using AAF
...gt; {:}, :desc => {}, :start_date => {} } def start_date self.start_datetime.strftime("%Y%m%d") end Now that I am strong start_date in YYYYMMDD format, I want to search for all event in between 20070506 and 20070809 What will my query look like when I am using aaf. This one doesn''t work Event.find_id_by_contents("start_date:[20070506 20070809]) I know how it works with native Ferret but can''t seem to integrate with aaf. -- Posted via http://www.ruby-forum.com/.
2007 Nov 19
1
My AAF tweaks
I have had to fix a few issues with AAF in order to get it working well for myself in a production environment. I''m using the latest "release" version which is 0.4.1: 1) When there is no index in place, every request starts a new rebuild. While there is some code in place to allow this to happen during testi...
2006 Nov 28
8
how to update index from a script
Hello all, I''m using AAF right now to index my ~3million db records. However, any additions to these records are added to the database through an external script so the aaf activerecord hooks will not catch any updates. Since new records are only added rarely, I figured I could just add the new records manually in ferret...
2007 Mar 09
5
higlighting problem
Hi, I''ve been having a problem getting highlighting to work with aaf. I have a class defined as follows such: class Link < ActiveRecord::Base acts_as_ferret :fields => { :description => { :store => :yes } } end I get back the correct results when I do Link.find_by_contents, however, I''d like to highlight them. If I do something like iterat...
2007 Apr 21
5
Thinking of using aaf- looking for advice
Hi- I''m technical lead at Lingr (http://www.lingr.com), a chatroom-based social networking site. We''ve currently got several million user utterances stored in MySQL, and we''re looking to build a local search functionality. I''ve played around with aaf and I really like it, but I have some questions. 1. Is anyone out there using aaf to index a corpus of this size? If so, how has your scaling experience been? 2. We would be running one central aaf server instance, talking to it over drb from our many application servers. We add tens of thou...
2006 Nov 01
8
aaf and stop words; query parser
...sary if I implement my own analyzer? I was thinking of possibly using the double metaphone algorithm and thinking that without the query parser to analyze the search string using my custom analyzer that I wouldn''t get any results. I hope that I haven''t missed something obvious in aaf''s api. On a side note, is there any recommended place to place custom analyzers for rails apps? Thanks, Curtis -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/ferret-talk/attachments/20061101/ad65daf5/attachment-0001.html
2007 Sep 21
1
Using AAF with ActiveRecord outside of Rails?...
Hi, My project has been happily using ActiveRecord outside of Rails for some time to populate various databases that are also used in Rails based websites. I''d like to bring AAF into this setup to index new records that are added to the databases as they''re added. Has anyone had any success in installing and using AAF with ActiveRecord but outside the Rails plugin support? I may be going about this the wrong way too--if there''s a better way of creating...
2007 May 24
2
Strange Problem with AAF DRB connection
....10:9010) /usr/lib/ruby/1.8/drb/drb.rb:573:in `load'' and later only this one: premature marshal format(can''t read) (druby:/10.0.0.10:9010) /usr/lib/ruby/1.8/drb/drb.rb:580:in `load'' Do you have any ideas what that could be? We didn''t change so much regarding aaf. Maybe we put some more fields in the index, that should be it. We''re using the following versions of ferret, aaf, and rails: ferret - 0.11.3 (0.11.4 resulted in other, strange problems) aaf - 0.4 Rails - 1.2.3 Cheers, Hendrik -- Posted via http://www.ruby-forum.com/.
2006 Dec 08
6
QueryParser Exception Handling Problem
According to the following link: http://ferret.davebalmain.com/api/classes/Ferret/QueryParser.html :handle_parser_errors => true is enabled by default and seems to be in acts_as_ferret in class_methods.rb of the plugin. However, when I pass a special character as a query (e.g., !, -, <, >, etc) it throws an error and pukes. -- snip -- Error occured in src/q_parser.y:279 - yyerror
2007 Nov 13
8
acts_as_ferret : cannot use a customized Analyzer (as indicated in the AdvancedUsageNotes)
Hi all, I cannot make aaf (rev. 220) use my custom analyzer, despite following the indications @ http://projects.jkraemer.net/acts_as_ferret/wiki/AdvancedUsage To pinpoint the problem, I created a model + a simple analyzer with 2 stop words : "fax" and "gsm". test 1 : model.rebuild_index + model.f...
2007 Oct 01
4
Need Help with Custom Associations
I''ve read the Rails Envy AAF tutorial at http://railsenvy.com/2007/2/19/acts-as-ferret-tutorial and its given me some really good ideas. My problem lies in having AAF search the target Model''s child tables. I have no problem at all doing something like: acts_as_ferret :fields => [:title, :update_collection, :...
2007 Jun 08
2
getting the list of indexed words from ferret or aaf
is the list of indexed words readily available via aaf or directly from ferret? -- Posted via http://www.ruby-forum.com/.
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 Dec 06
1
AAF - Stem Analyzer
I''m not on AAF. Can someone else help Raymond with an example? On 12/6/06, Raymond O''connor <nappin713 at yahoo.com> wrote: > > Matt Schnitz wrote: > > You also need to stem-analyze the incoming query. > > > > I had this same problem. :^> > > > > > > S...