From derek at xrip.com Wed Jun 10 17:55:22 2009 From: derek at xrip.com (Derek Ferguson) Date: Wed, 10 Jun 2009 14:55:22 -0700 Subject: [Ferret-talk] Ferret::Index::Index#scan Message-ID: Hi everyone, I'm having trouble with the Index scan() method. When I call it, I receive a 'private method called' error. Example: index.scan('blah') -> private method `scan' called for # (NoMethodError) I tried it on the searcher as well: index.searcher.scan('blah') -> private method `scan' called for # (NoMethodError) scan() docs: http://ferret.davebalmain.com/api/classes/Ferret/Index/Index.html#M000024 I'm using ferret-0.11.6. Can anyone offer any suggestions? Thanks, Derek From christian.aust at software-consultant.net Sun Jun 14 06:41:04 2009 From: christian.aust at software-consultant.net (Christian Aust) Date: Sun, 14 Jun 2009 12:41:04 +0200 Subject: [Ferret-talk] aaF: How can I retrive a list of terms for a document's field? Message-ID: <33FC0B57-B5CB-4832-9154-EECBED0A5265@software-consultant.net> Hi all, my Rails 2.3.2 model uses acts_as_ferret. I need to break down the contents of a field into a list of words, which is almost the same Ferret did when indexing the field. Can I somehow access the TermVectors for this particular document to use the same list of words that Ferret used for indexing? Kind regards, Christian p.s.: Sorry for two separate messages, that's to have two individual subject lines. From christian.aust at software-consultant.net Sun Jun 14 06:35:54 2009 From: christian.aust at software-consultant.net (Christian Aust) Date: Sun, 14 Jun 2009 12:35:54 +0200 Subject: [Ferret-talk] GeoSearch with Ferret Message-ID: <18C3012D-E28A-4359-8AA8-1044587E13E2@software-consultant.net> Hi all, unfortunately, the site tourb.us has been closed, but the wayback machine still reveals their approach to geo-searches with ferret [1]. In 2006, Dave (Balman?) replied that things could be handled differently in later versions. I'm new to Ferret/Ruby/Rails (although I've extensive experiences with Lucene/Java) so I'm wondering if that actually was implemented, and how such code should look like today. I couldn't find an example or tutorial, can anybody please help out? Kind regards, Christian [1] http://web.archive.org/web/20071223222924rn_1/blog.tourb.us/archives/ferret-and-location-based-searches/