# Ferret

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

[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:** 4

---

## [Indexing the local file system](https://www.ruby-forum.com/t/indexing-the-local-file-system/163385)

<div class="topic-metadata">

**Author:** [@HuangS\_ZijianSVicto](https://www.ruby-forum.com/u/HuangS_ZijianSVicto)\
**Replies:** 3\
**Last updated:** [March 19, 2009, 10:43pm UTC](https://www.ruby-forum.com/t/indexing-the-local-file-system/163385 "2009-03-19T22:43:28Z")

</div>

Hi, all: I am new to Ferret, can anyone please tell me what do I do to index some text files in a local directory? Thanks Victor

---

## [Acts\_as\_ferret: Slow ferret\_update with associated models](https://www.ruby-forum.com/t/acts-as-ferret-slow-ferret-update-with-associated-models/163235)

<div class="topic-metadata">

**Author:** [@ratchetcat](https://www.ruby-forum.com/u/ratchetcat)\
**Replies:** 0\
**Last updated:** [March 18, 2009, 2:24pm UTC](https://www.ruby-forum.com/t/acts-as-ferret-slow-ferret-update-with-associated-models/163235 "2009-03-18T14:24:42Z")

</div>

Hi, I am using some custom fields for ferret indexing to include fields from associated models. When those child models are updated, I do ferret\_update on the parent model. Unfortunately, that takes very long, depend…

---

## [Bug ? with stop words in French UTF-8 locale](https://www.ruby-forum.com/t/bug-with-stop-words-in-french-utf-8-locale/162987)

<div class="topic-metadata">

**Author:** [@micheldogger](https://www.ruby-forum.com/u/micheldogger)\
**Replies:** 0\
**Last updated:** [March 16, 2009, 1:09pm UTC](https://www.ruby-forum.com/t/bug-with-stop-words-in-french-utf-8-locale/162987 "2009-03-16T13:09:16Z")

</div>

Strange thing. Minimal example : Indexing a three accented words text like “aprÃ¨l aprÃ¨s aprÃ¨t” and asking for one of the three words, then two cases appear : plain indexing : all three give a hit, indexing with F…

---

## [Are document boost and sort incompatible?](https://www.ruby-forum.com/t/are-document-boost-and-sort-incompatible/162511)

<div class="topic-metadata">

**Author:** [@plambert](https://www.ruby-forum.com/u/plambert)\
**Replies:** 1\
**Last updated:** [March 10, 2009, 7:33pm UTC](https://www.ruby-forum.com/t/are-document-boost-and-sort-incompatible/162511 "2009-03-10T19:33:08Z")

</div>

I am using document boosting (following Jens’ suggestion here: Document Boost in acts\_as\_ferret? - Ferret - Ruby-Forum) but am also trying to sort the returned results, so I was using the :sort option. In my testing, …

---

## [Intermittant Ferret Death](https://www.ruby-forum.com/t/intermittant-ferret-death/162412)

<div class="topic-metadata">

**Author:** [@dgm](https://www.ruby-forum.com/u/dgm)\
**Replies:** 0\
**Last updated:** [March 9, 2009, 6:24pm UTC](https://www.ruby-forum.com/t/intermittant-ferret-death/162412 "2009-03-09T18:24:31Z")

</div>

Hey All, I am currently using ferret on multiple models in my application and have been experiencing issues for the past few months. When searching for some terms ferret performs fine but when searching for other term…

---

## [Find\_by\_ferret and UTF-8](https://www.ruby-forum.com/t/find-by-ferret-and-utf-8/161872)

<div class="topic-metadata">

**Author:** [@indigoi](https://www.ruby-forum.com/u/indigoi)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 9:38am UTC](https://www.ruby-forum.com/t/find-by-ferret-and-utf-8/161872 "2009-03-03T09:38:17Z")

</div>

Hi all, So I scoured the Internet and it’s possible I read the answer but didn’t know I was looking at it (because I am beginning programmer) but if someone could explain this it would be much appreciated. The problem…

---

## [Wildcard trouble](https://www.ruby-forum.com/t/wildcard-trouble/157069)

<div class="topic-metadata">

**Author:** [@plambert](https://www.ruby-forum.com/u/plambert)\
**Replies:** 2\
**Last updated:** [March 2, 2009, 11:33pm UTC](https://www.ruby-forum.com/t/wildcard-trouble/157069 "2009-03-02T23:33:19Z")

</div>

Hi-- I just ran into an odd situation. If I do a search including the term: c\* - I get 4 hits ca\* - I get the same 4 documents co\* - I get one new document, not found by c\* Does anyone know what might be going on…

---

## [Inverted index?](https://www.ruby-forum.com/t/inverted-index/161667)

<div class="topic-metadata">

**Author:** [@helix\_tp](https://www.ruby-forum.com/u/helix_tp)\
**Replies:** 0\
**Last updated:** [February 28, 2009, 6:37pm UTC](https://www.ruby-forum.com/t/inverted-index/161667 "2009-02-28T18:37:07Z")

</div>

Wondering if this is an appropriate application of ferret… I need to be able to do a substring search; e.g. a search on ‘fred’ would match ‘alfred’, ‘freddo’, ‘frederick’, etc… The field in question is short (yes, it’…

---

## [Two Shared Indices(sp?) in aaf.rb file (for Acts\_as\_ferret)](https://www.ruby-forum.com/t/two-shared-indices-sp-in-aaf-rb-file-for-acts-as-ferret/159164)

<div class="topic-metadata">

**Author:** [@Philip\_Ingram](https://www.ruby-forum.com/u/Philip_Ingram)\
**Replies:** 6\
**Last updated:** [February 24, 2009, 2:43am UTC](https://www.ruby-forum.com/t/two-shared-indices-sp-in-aaf-rb-file-for-acts-as-ferret/159164 "2009-02-24T02:43:41Z")

</div>

Hi all, I’m trying to add two shared indices to the aaf.rb file, however it is not working. I currently have one shared index, but that index has a condition on it, and i’m not sure how to go about creating another …

---

## [Aaf - I can't add new fields search](https://www.ruby-forum.com/t/aaf-i-cant-add-new-fields-search/161053)

<div class="topic-metadata">

**Author:** [@iuranchita](https://www.ruby-forum.com/u/iuranchita)\
**Replies:** 0\
**Last updated:** [February 22, 2009, 11:55pm UTC](https://www.ruby-forum.com/t/aaf-i-cant-add-new-fields-search/161053 "2009-02-22T23:55:12Z")

</div>

Hi, I’m workin with acts\_as\_ferret plugin y the is indexed like this: acts\_as\_ferret :fields =\> \[:name , :description\] but, now i need add a new field to search and make my model like this: acts\_as\_ferret :fields =\> …

---

## [Picolena OSX](https://www.ruby-forum.com/t/picolena-osx/160473)

<div class="topic-metadata">

**Author:** [@tobinharris](https://www.ruby-forum.com/u/tobinharris)\
**Replies:** 0\
**Last updated:** [February 16, 2009, 8:37pm UTC](https://www.ruby-forum.com/t/picolena-osx/160473 "2009-02-16T20:37:06Z")

</div>

Hi folks I’ve been trying for hours to get Picolena working on OSX 10.5, but no cigar. Picolena uses Ferret behind the scenes, but I get all sorts of errors, even when running with a single thread. I was wondering if…

---

## ["Max pool size" - connection error](https://www.ruby-forum.com/t/max-pool-size-connection-error/160156)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 1\
**Last updated:** [February 13, 2009, 5:01pm UTC](https://www.ruby-forum.com/t/max-pool-size-connection-error/160156 "2009-02-13T17:01:08Z")

</div>

On our server, which is nginx with an 8-mongrel cluster, and a ferret\_server for searching, we get an intermittent error when doing ferret searches - always on the same index (for the User class). I don’t know why it…

---

## [Highlighting with find\_with\_ferret](https://www.ruby-forum.com/t/highlighting-with-find-with-ferret/159868)

<div class="topic-metadata">

**Author:** [@iuranchita](https://www.ruby-forum.com/u/iuranchita)\
**Replies:** 2\
**Last updated:** [February 12, 2009, 6:41pm UTC](https://www.ruby-forum.com/t/highlighting-with-find-with-ferret/159868 "2009-02-12T18:41:50Z")

</div>

Hello! I’m trying to highlight my search results, but it doesn’t work.- In the model i have this: acts\_as\_ferret( :fields =\> { :name =\> {:store =\> :yes , :boots =\> 100}, :description =\> {:store =\> :yes , :boots =\> …

---

## [Load balancing indexing (or how can I run 2 drb servers?)](https://www.ruby-forum.com/t/load-balancing-indexing-or-how-can-i-run-2-drb-servers/160060)

<div class="topic-metadata">

**Author:** [@travisbell](https://www.ruby-forum.com/u/travisbell)\
**Replies:** 0\
**Last updated:** [February 11, 2009, 12:19pm UTC](https://www.ruby-forum.com/t/load-balancing-indexing-or-how-can-i-run-2-drb-servers/160060 "2009-02-11T12:19:48Z")

</div>

Hey guys, I have a website that is fairly large and when multiple items in the index need to be re-indexed it can regularly pin CPU close to 100% for many, many minutes until all of the references and items have been …

---

## [Uninitialized constant ActsAsFerret (NameError)](https://www.ruby-forum.com/t/uninitialized-constant-actsasferret-nameerror/159922)

<div class="topic-metadata">

**Author:** [@chudomir](https://www.ruby-forum.com/u/chudomir)\
**Replies:** 3\
**Last updated:** [February 11, 2009, 1:39am UTC](https://www.ruby-forum.com/t/uninitialized-constant-actsasferret-nameerror/159922 "2009-02-11T01:39:41Z")

</div>

Hi all, I have another problem that I fight with for some time and I could not understand where is the problem. Probably the problem is that I am quite “green” in RR :slight\_smile: I am trying to make the Demo Applic…

---

## [Ferret joins](https://www.ruby-forum.com/t/ferret-joins/159984)

<div class="topic-metadata">

**Author:** [@wesleyelder](https://www.ruby-forum.com/u/wesleyelder)\
**Replies:** 0\
**Last updated:** [February 10, 2009, 6:18pm UTC](https://www.ruby-forum.com/t/ferret-joins/159984 "2009-02-10T18:18:19Z")

</div>

Hey everyone, just a quick question about ferret and joins. i have two models class Option \< ActiveRecord::Base require 'acts\_as\_ferret' acts\_as\_ferret :fields =\> \[:sym, :description, :opra\_root\] end and class …

---

## [ActsAsFerret - what's the class of the results?](https://www.ruby-forum.com/t/actsasferret-whats-the-class-of-the-results/159617)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 2\
**Last updated:** [February 10, 2009, 11:24am UTC](https://www.ruby-forum.com/t/actsasferret-whats-the-class-of-the-results/159617 "2009-02-10T11:24:06Z")

</div>

I’m trying to write a test for a method that uses a ferret search, but can’t validate that the results are a\_a\_f results because my class test doesn’t work. Can anyone set me straight? Here’s some console experiment…

---

## [Ferret - mysql server has gone away](https://www.ruby-forum.com/t/ferret-mysql-server-has-gone-away/159900)

<div class="topic-metadata">

**Author:** [@flnative](https://www.ruby-forum.com/u/flnative)\
**Replies:** 0\
**Last updated:** [February 9, 2009, 10:30pm UTC](https://www.ruby-forum.com/t/ferret-mysql-server-has-gone-away/159900 "2009-02-09T22:30:56Z")

</div>

I’ve problem with ferret (acts\_as\_ferret). search-engine and webserver are on the same machine. I use acts\_as\_ferret :field =\> … to define which columns are indexed. I recreate the index with Search.rebuild\_index (Sea…

---

## [Acts\_as\_ferret query sintax](https://www.ruby-forum.com/t/acts-as-ferret-query-sintax/159654)

<div class="topic-metadata">

**Author:** [@iuranchita](https://www.ruby-forum.com/u/iuranchita)\
**Replies:** 1\
**Last updated:** [February 6, 2009, 6:52pm UTC](https://www.ruby-forum.com/t/acts-as-ferret-query-sintax/159654 "2009-02-06T18:52:30Z")

</div>

Hello! i’m really new with acts\_as\_ferret, a just started yesterday and english is not my native language, so i’m sorry, if it’s too bad. i have been practicing and i’m able to make simple searchs without troubles. B…

---

## [Ferret Demo application - failed](https://www.ruby-forum.com/t/ferret-demo-application-failed/159583)

<div class="topic-metadata">

**Author:** [@chudomir](https://www.ruby-forum.com/u/chudomir)\
**Replies:** 0\
**Last updated:** [February 6, 2009, 12:59am UTC](https://www.ruby-forum.com/t/ferret-demo-application-failed/159583 "2009-02-06T00:59:13Z")

</div>

Hi all, I decided to try the demo project that comes with the Ferret plugin and following the instructions in the README\_DEMO file faced this problem. I guess it is luck of experience but I could not solve this proble…

---

## [Using Highlight on Concatenated ActsAsFerret::SearchResults](https://www.ruby-forum.com/t/using-highlight-on-concatenated-actsasferret-searchresults/155417)

<div class="topic-metadata">

**Author:** [@studbucket](https://www.ruby-forum.com/u/studbucket)\
**Replies:** 2\
**Last updated:** [January 20, 2009, 5:08am UTC](https://www.ruby-forum.com/t/using-highlight-on-concatenated-actsasferret-searchresults/155417 "2009-01-20T05:08:57Z")

</div>

Hi, This is my first attempt at trying to use aaf’s highlight function, and I am having a getting it to return anything. First I’ll give some background, then show you my problem. In my model, I have the content fie…

---

## [Maximum Limit for index](https://www.ruby-forum.com/t/maximum-limit-for-index/156971)

<div class="topic-metadata">

**Author:** [@xwordguy](https://www.ruby-forum.com/u/xwordguy)\
**Replies:** 1\
**Last updated:** [January 17, 2009, 6:03pm UTC](https://www.ruby-forum.com/t/maximum-limit-for-index/156971 "2009-01-17T18:03:32Z")

</div>

Is there a maximum size for the index files created with acts\_as\_ferret? We have a web application that we pre-load a single table in a database with records. Then do a search. This creates the index files for us. The…

---

## [Sending Forms parameters via the http request](https://www.ruby-forum.com/t/sending-forms-parameters-via-the-http-request/156923)

<div class="topic-metadata">

**Author:** [@lyes](https://www.ruby-forum.com/u/lyes)\
**Replies:** 0\
**Last updated:** [January 5, 2009, 12:24pm UTC](https://www.ruby-forum.com/t/sending-forms-parameters-via-the-http-request/156923 "2009-01-05T12:24:22Z")

</div>

Hello List! I’ve made an application with rails where I have 2 pages. In the first one, I put a form, then after filling the form and clicking on the submit button, the request result will be displayed in the second…

---

## [ActsAsFerret::IndexNotDefined](https://www.ruby-forum.com/t/actsasferret-indexnotdefined/196872)

<div class="topic-metadata">

**Author:** [@mihserf](https://www.ruby-forum.com/u/mihserf)\
**Replies:** 1\
**Last updated:** [January 5, 2009, 12:21pm UTC](https://www.ruby-forum.com/t/actsasferret-indexnotdefined/196872 "2009-01-05T12:21:42Z")

</div>

Hello! I use acts\_as\_ferret at first. I have several models with acts\_as\_ferret. When I do search in the models User,Article,Therm it works fine. But when I try search in Addition model or in Page model I got followi…

---

## [ActsAsFerret.find not working - Help](https://www.ruby-forum.com/t/actsasferret-find-not-working-help/137173)

<div class="topic-metadata">

**Author:** [@nerb](https://www.ruby-forum.com/u/nerb)\
**Replies:** 4\
**Last updated:** [January 5, 2009, 9:33am UTC](https://www.ruby-forum.com/t/actsasferret-find-not-working-help/137173 "2009-01-05T09:33:56Z")

</div>

http://opensoul.org/2008/4/29/using-shared-indexes-with-acts\_as\_ferret/comments/6038#comment-6038. In this tutorial, I’ve yet to get results back from the searches i’ve created. Here is my code. I’m not sure what is …

---

## [Ferret::Search::TypedRangeQuery](https://www.ruby-forum.com/t/ferret-typedrangequery/156544)

<div class="topic-metadata">

**Author:** [@dur\_dev](https://www.ruby-forum.com/u/dur_dev)\
**Replies:** 1\
**Last updated:** [December 31, 2008, 8:21pm UTC](https://www.ruby-forum.com/t/ferret-typedrangequery/156544 "2008-12-31T20:21:42Z")

</div>

I need to do typed range queries on record ids and dates. When I call Ferret::Search::TypedRangeQuery I get the error: NameError: uninitialized constant Ferret::Search::TypedRangeQuery Is TypedRangeQuery supported in …

---

## [An help with the OR condition... is this a bug?](https://www.ruby-forum.com/t/an-help-with-the-or-condition-is-this-a-bug/156493)

<div class="topic-metadata">

**Author:** [@xdmx](https://www.ruby-forum.com/u/xdmx)\
**Replies:** 1\
**Last updated:** [December 29, 2008, 3:50pm UTC](https://www.ruby-forum.com/t/an-help-with-the-or-condition-is-this-a-bug/156493 "2008-12-29T15:50:22Z")

</div>

Hi, i’m playing with ferret and some records in the db. This is what i’m doing: Model.find\_with\_ferret(’+title:\* +countries:IT’) =\> 3 records (right) Model.find\_with\_ferret(’+title:\* +countries:(IT OR IT)’) =\> …

---

## [Getting error when i am starting the ferret](https://www.ruby-forum.com/t/getting-error-when-i-am-starting-the-ferret/156312)

<div class="topic-metadata">

**Author:** [@sasikumar](https://www.ruby-forum.com/u/sasikumar)\
**Replies:** 0\
**Last updated:** [December 24, 2008, 10:45am UTC](https://www.ruby-forum.com/t/getting-error-when-i-am-starting-the-ferret/156312 "2008-12-24T10:45:01Z")

</div>

C:\\ruby\\college\_info\>ruby script/ferret\_server start --debug syntax error on line 13, col 1: aaf won't try to use the DRb server in environments that are not ' c:/ruby/lib/ruby/1.8/yaml.rb:133:inload’ c:/ruby/lib/ruby/…

---

## [Ferret server start](https://www.ruby-forum.com/t/ferret-server-start/156303)

<div class="topic-metadata">

**Author:** [@sasikumar](https://www.ruby-forum.com/u/sasikumar)\
**Replies:** 0\
**Last updated:** [December 24, 2008, 8:04am UTC](https://www.ruby-forum.com/t/ferret-server-start/156303 "2008-12-24T08:04:55Z")

</div>

when i am starting my act\_as\_ferret server in windows xp ,it produces nil can not change as string …

---

## [Multiple index rebuilds called if use mongrel cluster?](https://www.ruby-forum.com/t/multiple-index-rebuilds-called-if-use-mongrel-cluster/156175)

<div class="topic-metadata">

**Author:** [@elucify](https://www.ruby-forum.com/u/elucify)\
**Replies:** 0\
**Last updated:** [December 22, 2008, 5:56am UTC](https://www.ruby-forum.com/t/multiple-index-rebuilds-called-if-use-mongrel-cluster/156175 "2008-12-22T05:56:14Z")

</div>

I use aaf and ferret drb server and one of our indexes is quite large. In the case that I need to rebuild it this can take up to several minutes. The problem I have is that it appears that if you have a mongrel cluste…

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

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