# Ferret

**URL:** https://www.ruby-forum.com/c/ruby-apps/ferret/8.md?page=2

[Latest](https://www.ruby-forum.com/latest.md) · [Categories](https://www.ruby-forum.com/categories.md) · [Tags](https://www.ruby-forum.com/tags.md)

**Page:** 3

---

## [Acts\_as\_ferret - term\_vector](https://www.ruby-forum.com/t/acts-as-ferret-term-vector/172182)

<div class="topic-metadata">

**Author:** [@biggosh](https://www.ruby-forum.com/u/biggosh)\
**Replies:** 0\
**Last updated:** [July 16, 2009, 12:16pm UTC](https://www.ruby-forum.com/t/acts-as-ferret-term-vector/172182 "2009-07-16T12:16:23Z")

</div>

Hello. I’m trying to user term\_vector on documents fields returned via find\_with\_ferret call. I found documentation about how to use it directly from Ferret but nothing about acts\_as\_ferret + term\_vector. May anyone …

---

## [Questions about query and index loading performance](https://www.ruby-forum.com/t/questions-about-query-and-index-loading-performance/172051)

<div class="topic-metadata">

**Author:** [@Bira](https://www.ruby-forum.com/u/Bira)\
**Replies:** 0\
**Last updated:** [July 13, 2009, 10:48pm UTC](https://www.ruby-forum.com/t/questions-about-query-and-index-loading-performance/172051 "2009-07-13T22:48:46Z")

</div>

Hello, I have a few questions about Ferret’s performance when loading and querying indexes. How do load time and query time scale with the number of indexes being loaded or searched at once? Does the size of these in…

---

## [Problems with Ruby 1.9.1 / Rails 2.3.2 / aaf](https://www.ruby-forum.com/t/problems-with-ruby-1-9-1-rails-2-3-2-aaf/171754)

<div class="topic-metadata">

**Author:** [@gkogler](https://www.ruby-forum.com/u/gkogler)\
**Replies:** 0\
**Last updated:** [July 8, 2009, 6:09pm UTC](https://www.ruby-forum.com/t/problems-with-ruby-1-9-1-rails-2-3-2-aaf/171754 "2009-07-08T18:09:10Z")

</div>

I’ve set up a debian server with ruby 1.9.1, rails 2.3.2, postgres and several gems. While I was able to get all my required gems working (including a patched ferret gem), acts\_as\_ferret does not work. I’ve tried the …

---

## [Re: ferret-browser on the command-line?](https://www.ruby-forum.com/t/re-ferret-browser-on-the-command-line/171659)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [July 7, 2009, 10:56am UTC](https://www.ruby-forum.com/t/re-ferret-browser-on-the-command-line/171659 "2009-07-07T10:56:51Z")

</div>

From you ferret install path you run ferret-browser. cd ruby\\lib\\ruby\\gems\\1.8\\gems\\ferret-0.11.5-x86-mswin32\\bin ferret-browser \<path\_to\_index\> It will launch a webrick server on port 3301. But I found that it c…

---

## [Ferret-browser on the command-line?](https://www.ruby-forum.com/t/ferret-browser-on-the-command-line/171605)

<div class="topic-metadata">

**Author:** [@Kelly\_J](https://www.ruby-forum.com/u/Kelly_J)\
**Replies:** 1\
**Last updated:** [July 6, 2009, 5:08pm UTC](https://www.ruby-forum.com/t/ferret-browser-on-the-command-line/171605 "2009-07-06T17:08:57Z")

</div>

ferret-browser is really neat and tells me a lot about my ferret collection, but I’m not sure why it runs as a webserver? Is there a command-line program that does the same thing ferret-browser does? – We’re just a …

---

## [Using ferret as a base64-encoded numerical db](https://www.ruby-forum.com/t/using-ferret-as-a-base64-encoded-numerical-db/171606)

<div class="topic-metadata">

**Author:** [@Kelly\_J](https://www.ruby-forum.com/u/Kelly_J)\
**Replies:** 0\
**Last updated:** [July 6, 2009, 4:16pm UTC](https://www.ruby-forum.com/t/using-ferret-as-a-base64-encoded-numerical-db/171606 "2009-07-06T16:16:22Z")

</div>

I’m using ferret to store random base64 strings of length 72 (courtesy “dd if=/dev/random … | mmencode”), with the long-term goal of storing floating point/integral numbers (converted to base64). Problems: % Ferret r…

---

## [Ferret indexing openstreetmap.org data](https://www.ruby-forum.com/t/ferret-indexing-openstreetmap-org-data/171366)

<div class="topic-metadata">

**Author:** [@Kelly\_J](https://www.ruby-forum.com/u/Kelly_J)\
**Replies:** 0\
**Last updated:** [July 1, 2009, 6:27am UTC](https://www.ruby-forum.com/t/ferret-indexing-openstreetmap-org-data/171366 "2009-07-01T06:27:35Z")

</div>

I want to use Ferret to index openstreetmap.org’s (OSM) node data: 400M pairs of latitudes and longitudes. Has anyone already done this? What optimizations can I use? I don’t need to access the data while it’s indexi…

---

## [Error when indexing in multiple processes at a time](https://www.ruby-forum.com/t/error-when-indexing-in-multiple-processes-at-a-time/171089)

<div class="topic-metadata">

**Author:** [@tabassman](https://www.ruby-forum.com/u/tabassman)\
**Replies:** 0\
**Last updated:** [June 26, 2009, 9:55am UTC](https://www.ruby-forum.com/t/error-when-indexing-in-multiple-processes-at-a-time/171089 "2009-06-26T09:55:11Z")

</div>

Hi everybody, I’m working on a search engine for a small niche. I’ve built a ruby program that takes a URL as a single argument and then processes and indexes that page. Another small ruby application then creates a …

---

## [Ferret giving error on runing ruby server](https://www.ruby-forum.com/t/ferret-giving-error-on-runing-ruby-server/170354)

<div class="topic-metadata">

**Author:** [@ajaonchat](https://www.ruby-forum.com/u/ajaonchat)\
**Replies:** 0\
**Last updated:** [June 16, 2009, 3:31pm UTC](https://www.ruby-forum.com/t/ferret-giving-error-on-runing-ruby-server/170354 "2009-06-16T15:31:27Z")

</div>

Hi All, i have install ferret finely but now when i m running my server its giving me following error can any body help me out D:\\bear\>ruby script/server =\> Booting Mongrel (use ‘script/server webrick’ to force WEBri…

---

## [GeoSearch with Ferret](https://www.ruby-forum.com/t/geosearch-with-ferret/170226)

<div class="topic-metadata">

**Author:** [@Christian\_Aust](https://www.ruby-forum.com/u/Christian_Aust)\
**Replies:** 0\
**Last updated:** [June 14, 2009, 12:43pm UTC](https://www.ruby-forum.com/t/geosearch-with-ferret/170226 "2009-06-14T12:43:37Z")

</div>

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…

---

## [aaF: How can I retrive a list of terms for a document's field?](https://www.ruby-forum.com/t/aaf-how-can-i-retrive-a-list-of-terms-for-a-documents-field/170225)

<div class="topic-metadata">

**Author:** [@Christian\_Aust](https://www.ruby-forum.com/u/Christian_Aust)\
**Replies:** 0\
**Last updated:** [June 14, 2009, 12:41pm UTC](https://www.ruby-forum.com/t/aaf-how-can-i-retrive-a-list-of-terms-for-a-documents-field/170225 "2009-06-14T12:41:52Z")

</div>

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 f…

---

## [Ferret problem, load missing constant](https://www.ruby-forum.com/t/ferret-problem-load-missing-constant/170033)

<div class="topic-metadata">

**Author:** [@leossouza](https://www.ruby-forum.com/u/leossouza)\
**Replies:** 0\
**Last updated:** [June 11, 2009, 3:15pm UTC](https://www.ruby-forum.com/t/ferret-problem-load-missing-constant/170033 "2009-06-11T15:15:40Z")

</div>

I am having problems with ferret server. My site is crashing sometimes ( I can’t identify when or why! ). The error it throws is the following: A LoadError occurred in application#row: Expected /sites/xxx/releases/20…

---

## [Crash with AR 2.2.2](https://www.ruby-forum.com/t/crash-with-ar-2-2-2/170003)

<div class="topic-metadata">

**Author:** [@davedave](https://www.ruby-forum.com/u/davedave)\
**Replies:** 0\
**Last updated:** [June 11, 2009, 7:41am UTC](https://www.ruby-forum.com/t/crash-with-ar-2-2-2/170003 "2009-06-11T07:41:50Z")

</div>

Hello I used to have a very simple import routine,the full horror of which can seen here, http://pastie.org/508105 As of an update in either AR 2.2.2 or AAF (I think it’s this, as I’d been on 2.2.2 for a while), when…

---

## [Ferret::Index::Index#scan](https://www.ruby-forum.com/t/ferret-index-scan/169987)

<div class="topic-metadata">

**Author:** [@Derek\_Ferguson](https://www.ruby-forum.com/u/Derek_Ferguson)\
**Replies:** 0\
**Last updated:** [June 10, 2009, 11:56pm UTC](https://www.ruby-forum.com/t/ferret-index-scan/169987 "2009-06-10T23:56:42Z")

</div>

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 #Ferret::Index::Index:0xb7c15374 …

---

## [Acts As Ferret no search results](https://www.ruby-forum.com/t/acts-as-ferret-no-search-results/169790)

<div class="topic-metadata">

**Author:** [@manekineko](https://www.ruby-forum.com/u/manekineko)\
**Replies:** 0\
**Last updated:** [June 8, 2009, 7:02pm UTC](https://www.ruby-forum.com/t/acts-as-ferret-no-search-results/169790 "2009-06-08T19:02:43Z")

</div>

I’m trying to learn Rails by following the tutorial in the Addison-Wesley book RailsSpace. In the tutorial, there are a few models that are indexed with the acts\_as\_ferret line. I think that I have acts\_as\_ferret ins…

---

## [Aaf and "foreign" index (build from script, not from aaf)](https://www.ruby-forum.com/t/aaf-and-foreign-index-build-from-script-not-from-aaf/169703)

<div class="topic-metadata">

**Author:** [@fink](https://www.ruby-forum.com/u/fink)\
**Replies:** 0\
**Last updated:** [June 7, 2009, 12:04pm UTC](https://www.ruby-forum.com/t/aaf-and-foreign-index-build-from-script-not-from-aaf/169703 "2009-06-07T12:04:23Z")

</div>

Hi there, it’s a bit difficult to describe in one line, so the subject ist a little confusing - sry. I have a file full of objects and use a ruby-script to store them in my database. To save time I decided to build t…

---

## [Ferret Server with Multiple Application](https://www.ruby-forum.com/t/ferret-server-with-multiple-application/168559)

<div class="topic-metadata">

**Author:** [@djtal](https://www.ruby-forum.com/u/djtal)\
**Replies:** 0\
**Last updated:** [May 22, 2009, 11:38am UTC](https://www.ruby-forum.com/t/ferret-server-with-multiple-application/168559 "2009-05-22T11:38:18Z")

</div>

Hi, I do host 5 RoR apps on my server, which all needs ferret server. So i run 5 differents instances of ferret server. I wondered if it will be possible to only run one instance of ferret server for all of these app…

---

## [Ferret falling through the Monit cracks](https://www.ruby-forum.com/t/ferret-falling-through-the-monit-cracks/150210)

<div class="topic-metadata">

**Author:** [@staypufd](https://www.ruby-forum.com/u/staypufd)\
**Replies:** 1\
**Last updated:** [May 20, 2009, 12:28am UTC](https://www.ruby-forum.com/t/ferret-falling-through-the-monit-cracks/150210 "2009-05-20T00:28:57Z")

</div>

I have a standard AAF Ferret installation running over DRB, serving several thousand searches daily. I use the monit script as provided in the AAF package to ensure the DRB server stays up. I also use the totalmem lin…

---

## [How does it score?](https://www.ruby-forum.com/t/how-does-it-score/168153)

<div class="topic-metadata">

**Author:** [@polarapfel](https://www.ruby-forum.com/u/polarapfel)\
**Replies:** 0\
**Last updated:** [May 17, 2009, 1:02am UTC](https://www.ruby-forum.com/t/how-does-it-score/168153 "2009-05-17T01:02:46Z")

</div>

Hi, how do I find out what ferret actually does? My program works fine: qp = QueryParser.new(:default\_field =\> :title) index.search\_each(qp.parse(“Some words”)) Now it seems that this way not all terms are required, …

---

## [Exceptions, certain terms](https://www.ruby-forum.com/t/exceptions-certain-terms/167659)

<div class="topic-metadata">

**Author:** [@davedave](https://www.ruby-forum.com/u/davedave)\
**Replies:** 0\
**Last updated:** [May 11, 2009, 9:03am UTC](https://www.ruby-forum.com/t/exceptions-certain-terms/167659 "2009-05-11T09:03:03Z")

</div>

hello. I’ve got a music database, and a few artist names are causing me grief because they are ignored by ferret/AAF. These are “The The” and “!!!” How can I set up my index to not ignore these values, and to index t…

---

## [Problem with acts\_as\_ferret and REE-20090421](https://www.ruby-forum.com/t/problem-with-acts-as-ferret-and-ree-20090421/167498)

<div class="topic-metadata">

**Author:** [@yar](https://www.ruby-forum.com/u/yar)\
**Replies:** 2\
**Last updated:** [May 9, 2009, 11:02pm UTC](https://www.ruby-forum.com/t/problem-with-acts-as-ferret-and-ree-20090421/167498 "2009-05-09T23:02:02Z")

</div>

Hi Apparently script/ferret\_server (with ruby enterprise edition) silently crashes upon the first attempt to connect to it. Nothing is written to the log files, no messages, nothing. Must be something with DRb. I wish …

---

## [Error indexing for the first time](https://www.ruby-forum.com/t/error-indexing-for-the-first-time/167394)

<div class="topic-metadata">

**Author:** [@janke](https://www.ruby-forum.com/u/janke)\
**Replies:** 0\
**Last updated:** [May 7, 2009, 12:55pm UTC](https://www.ruby-forum.com/t/error-indexing-for-the-first-time/167394 "2009-05-07T12:55:28Z")

</div>

Hi, I’ve added acts\_as\_ferret on my model and add the field ‘name’ to the ferret index for the first time. I’m using rails 2.2 acts\_as\_ferret(:fields =\> { :name =\> {:store =\> :yes, :boost =\> 2.0}}, :remote =\> true, …

---

## [Removing a Record From an Index](https://www.ruby-forum.com/t/removing-a-record-from-an-index/167326)

<div class="topic-metadata">

**Author:** [@dur\_dev](https://www.ruby-forum.com/u/dur_dev)\
**Replies:** 0\
**Last updated:** [May 6, 2009, 7:14pm UTC](https://www.ruby-forum.com/t/removing-a-record-from-an-index/167326 "2009-05-06T19:14:25Z")

</div>

How do you remove a record from an index? When a record enters a state of “inactive”, we want to remove the record from the index. I have tried calling self.ferret\_destroy but this destroys the entire index on the Mon…

---

## [Porting to Ruby 1.9?](https://www.ruby-forum.com/t/porting-to-ruby-1-9/163667)

<div class="topic-metadata">

**Author:** [@patcito](https://www.ruby-forum.com/u/patcito)\
**Replies:** 1\
**Last updated:** [April 29, 2009, 3:04pm UTC](https://www.ruby-forum.com/t/porting-to-ruby-1-9/163667 "2009-04-29T15:04:21Z")

</div>

Hi, Is there anyone working on porting ferret to ruby 1.9.1? Thanks in advance. Pat

---

## [Index deleting original files?](https://www.ruby-forum.com/t/index-deleting-original-files/166149)

<div class="topic-metadata">

**Author:** [@oderas](https://www.ruby-forum.com/u/oderas)\
**Replies:** 0\
**Last updated:** [April 22, 2009, 10:08am UTC](https://www.ruby-forum.com/t/index-deleting-original-files/166149 "2009-04-22T10:08:38Z")

</div>

Hi, I was following the tutorial over at http://ferret.davebalmain.com/api/files/TUTORIAL.html but when I tried to index a local directory, all the files were replaced by two new files called segments and segments\_0. …

---

## [\[BUG\] Segmentation fault in Ruby](https://www.ruby-forum.com/t/bug-segmentation-fault-in-ruby/166058)

<div class="topic-metadata">

**Author:** [@amol\_qk](https://www.ruby-forum.com/u/amol_qk)\
**Replies:** 0\
**Last updated:** [April 21, 2009, 1:23pm UTC](https://www.ruby-forum.com/t/bug-segmentation-fault-in-ruby/166058 "2009-04-21T13:23:47Z")

</div>

HI I’m geting error in ruby This application has requested the Runtime to terminate it in an unusual way. Please contact the application’s support team for more information. c:/ruby/lib/ruby/1.8/test/unit.rb:278: \[BU…

---

## [Acts\_as\_ferret: experiencing bugs with very simple search](https://www.ruby-forum.com/t/acts-as-ferret-experiencing-bugs-with-very-simple-search/165461)

<div class="topic-metadata">

**Author:** [@murfhy](https://www.ruby-forum.com/u/murfhy)\
**Replies:** 0\
**Last updated:** [April 14, 2009, 6:25am UTC](https://www.ruby-forum.com/t/acts-as-ferret-experiencing-bugs-with-very-simple-search/165461 "2009-04-14T06:25:23Z")

</div>

I am doing a very simple search on my DB using acts\_as\_ferret. I put this in my “Venue” model: acts\_as\_ferret :fields =\> \[:name, :city\] And this is in my controller search action: @t = Venue.find\_by\_contents(params\[:…

---

## [Weird analyzer issue with the word 'fly'](https://www.ruby-forum.com/t/weird-analyzer-issue-with-the-word-fly/165138)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 4\
**Last updated:** [April 9, 2009, 10:04pm UTC](https://www.ruby-forum.com/t/weird-analyzer-issue-with-the-word-fly/165138 "2009-04-09T22:04:26Z")

</div>

Hi all I’m using a\_a\_f in rails with a StemmingAnalyzer, in the index and in my search. I got the idea from this topic: http://www.ruby-forum.com/topic/80178 I’m having a problem with some search terms - i narrowed …

---

## [Failing to install act\_as\_ferret](https://www.ruby-forum.com/t/failing-to-install-act-as-ferret/163500)

<div class="topic-metadata">

**Author:** [@itchy](https://www.ruby-forum.com/u/itchy)\
**Replies:** 0\
**Last updated:** [March 21, 2009, 12:40am UTC](https://www.ruby-forum.com/t/failing-to-install-act-as-ferret/163500 "2009-03-21T00:40:26Z")

</div>

I haven’t used ferret in a about a year but before that I had successfully used acts\_as\_ferret and it worked well. But I am failing to get newer versions of the plugin to work. I installed the latest ferret gem then …

---

## [Crawler for Ferret](https://www.ruby-forum.com/t/crawler-for-ferret/163403)

<div class="topic-metadata">

**Author:** [@HuangS\_ZijianSVicto](https://www.ruby-forum.com/u/HuangS_ZijianSVicto)\
**Replies:** 3\
**Last updated:** [March 20, 2009, 1:54pm UTC](https://www.ruby-forum.com/t/crawler-for-ferret/163403 "2009-03-20T13:54:01Z")

</div>

Hi, guys: Can you please recommend a good crawler for Ferret? Nutch is pretty powerful in the Java side, do we have some thing is similar in Ruby? It will be great if the crawler also handlers incremental index update …

[Previous page](https://www.ruby-forum.com/c/ruby-apps/ferret/8.md?page=1)

[Next page](https://www.ruby-forum.com/c/ruby-apps/ferret/8.md?page=3)
