# Ferret

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

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

---

## [Help installing ferret gem on Mandriva 2010 linux](https://www.ruby-forum.com/t/help-installing-ferret-gem-on-mandriva-2010-linux/186942)

<div class="topic-metadata">

**Author:** [@stepheneb](https://www.ruby-forum.com/u/stepheneb)\
**Replies:** 0\
**Last updated:** [April 14, 2010, 5:27pm UTC](https://www.ruby-forum.com/t/help-installing-ferret-gem-on-mandriva-2010-linux/186942 "2010-04-14T17:27:08Z")

</div>

Having trouble installing ferret gem in RoR in Mandriva Linux 2010. I get the following error when trying to install: \[root@localhost ironmantis7x\]# gem install ferret Building native extensions. This could take a wh…

---

## [No search results found](https://www.ruby-forum.com/t/no-search-results-found/197035)

<div class="topic-metadata">

**Author:** [@catalin](https://www.ruby-forum.com/u/catalin)\
**Replies:** 0\
**Last updated:** [April 6, 2010, 2:03pm UTC](https://www.ruby-forum.com/t/no-search-results-found/197035 "2010-04-06T14:03:57Z")

</div>

Hi, I\`m having trouble with acts\_as\_feret gem. It renders no results. First I \< require ‘acts\_as\_ferret’ \> in enviroment.rb. Then I use \< acts\_as\_ferret \> in every model I need. (user, spec, detalii) I made a serch …

---

## [Boosting individual token possible?](https://www.ruby-forum.com/t/boosting-individual-token-possible/184627)

<div class="topic-metadata">

**Author:** [@parkurm](https://www.ruby-forum.com/u/parkurm)\
**Replies:** 0\
**Last updated:** [March 5, 2010, 11:33am UTC](https://www.ruby-forum.com/t/boosting-individual-token-possible/184627 "2010-03-05T11:33:29Z")

</div>

Hi guys, Situation: There’re lots of pages, and each is attached with certain number of tags. It’s quite similar to delicious.com. For example, the following is a list of pages and their tags, the tag number marked in …

---

## [Pagination, sorting and conditions: the combination is breaking my search results](https://www.ruby-forum.com/t/pagination-sorting-and-conditions-the-combination-is-breaking-my-search-results/135828)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 13\
**Last updated:** [February 10, 2010, 2:50pm UTC](https://www.ruby-forum.com/t/pagination-sorting-and-conditions-the-combination-is-breaking-my-search-results/135828 "2010-02-10T14:50:19Z")

</div>

Hi I have a problem with a search where i want to get some results according to some conditions, sort the results, and then paginate over the sorted collection. My search looks like this: @results = TeachingObje…

---

## [Ferret search not working for one model, works for others](https://www.ruby-forum.com/t/ferret-search-not-working-for-one-model-works-for-others/183210)

<div class="topic-metadata">

**Author:** [@asplake](https://www.ruby-forum.com/u/asplake)\
**Replies:** 0\
**Last updated:** [February 10, 2010, 12:51am UTC](https://www.ruby-forum.com/t/ferret-search-not-working-for-one-model-works-for-others/183210 "2010-02-10T00:51:32Z")

</div>

Hello, So far I am using ferret in the most simple way, I just have included acts\_as\_ferret or acts\_as\_ferret :fields =\> \[:login, :name\] etc… in serval of my models, this works as expected for all of the models I …

---

## [Filter\_proc does not work as expected](https://www.ruby-forum.com/t/filter-proc-does-not-work-as-expected/182180)

<div class="topic-metadata">

**Author:** [@tlockney](https://www.ruby-forum.com/u/tlockney)\
**Replies:** 1\
**Last updated:** [January 24, 2010, 12:04pm UTC](https://www.ruby-forum.com/t/filter-proc-does-not-work-as-expected/182180 "2010-01-24T12:04:00Z")

</div>

Hi there Since some days I’m developing a fulltext-search for our Bugzilla system. Initial development time was very short but now I’m working on some details and it does not work as expected. Basically it’s two diff…

---

## [Acts\_As\_Ferret No Method Errors](https://www.ruby-forum.com/t/acts-as-ferret-no-method-errors/175305)

<div class="topic-metadata">

**Author:** [@gnovah](https://www.ruby-forum.com/u/gnovah)\
**Replies:** 1\
**Last updated:** [January 4, 2010, 8:44pm UTC](https://www.ruby-forum.com/t/acts-as-ferret-no-method-errors/175305 "2010-01-04T20:44:03Z")

</div>

I’ve been trying to use Acts\_as\_Ferret, but all I can get are no method errors. For example, if I try in a rails console Item.find\_id\_by\_contents(“whatever”) it returns “NoMethodError: undefined method \`find\_id\_by\_con…

---

## [Aaf: lazy=\>true and using .highlight causes DB request?!?](https://www.ruby-forum.com/t/aaf-lazy-true-and-using-highlight-causes-db-request/180532)

<div class="topic-metadata">

**Author:** [@neongrau](https://www.ruby-forum.com/u/neongrau)\
**Replies:** 0\
**Last updated:** [December 21, 2009, 12:53pm UTC](https://www.ruby-forum.com/t/aaf-lazy-true-and-using-highlight-causes-db-request/180532 "2009-12-21T12:53:58Z")

</div>

i want to perform searches that don’t hit the database and then hightlight 1 or 2 fields from the store. when i do Document.find\_with\_ferret(query, {:lazy=\>true}) and then access hit.description the content gets pu…

---

## [Can i get a list of all unique indexed words?](https://www.ruby-forum.com/t/can-i-get-a-list-of-all-unique-indexed-words/179949)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 0\
**Last updated:** [December 8, 2009, 3:54pm UTC](https://www.ruby-forum.com/t/can-i-get-a-list-of-all-unique-indexed-words/179949 "2009-12-08T15:54:30Z")

</div>

I have a requirement to provide a book-style browseable ‘index’ of all our resources (which are already indexed with ferret). I thought that a nice simple way to do this would be to pull every unique indexed word fro…

---

## [Undefined method \`ferret\_rank='](https://www.ruby-forum.com/t/undefined-method-ferret-rank/169462)

<div class="topic-metadata">

**Author:** [@Philip\_Ingram](https://www.ruby-forum.com/u/Philip_Ingram)\
**Replies:** 4\
**Last updated:** [November 30, 2009, 6:47am UTC](https://www.ruby-forum.com/t/undefined-method-ferret-rank/169462 "2009-11-30T06:47:07Z")

</div>

i am getting the following error message using the AAF gem version 0.4.4 in my rails app. undefined method \`ferret\_rank=’ for #Page:0x246060c i"m using multi search but i have the same code working on another app, us…

---

## [Problem with case sensitivity](https://www.ruby-forum.com/t/problem-with-case-sensitivity/179504)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 1\
**Last updated:** [November 26, 2009, 12:58pm UTC](https://www.ruby-forum.com/t/problem-with-case-sensitivity/179504 "2009-11-26T12:58:33Z")

</div>

I’m using a custom stem analyser in my searches and my indexing. The analyser is defined thus: module Ferret::Analysis class StemmingAnalyzer def token\_stream(field, text) text.downcase! RAILS\_DEFAULT\_LOGGER.debug…

---

## [Acts as ferret in dev not working](https://www.ruby-forum.com/t/acts-as-ferret-in-dev-not-working/197111)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 0\
**Last updated:** [November 13, 2009, 9:59am UTC](https://www.ruby-forum.com/t/acts-as-ferret-in-dev-not-working/197111 "2009-11-13T09:59:49Z")

</div>

Hi, I have acts as ferret working ok on the production server with the built in drb server. Locally i can get the server running ok but get the following errors when trying to run a search within an app undefined me…

---

## [Drb start configuration error](https://www.ruby-forum.com/t/drb-start-configuration-error/178667)

<div class="topic-metadata">

**Author:** [@vanderkerkoff](https://www.ruby-forum.com/u/vanderkerkoff)\
**Replies:** 1\
**Last updated:** [November 9, 2009, 10:59am UTC](https://www.ruby-forum.com/t/drb-start-configuration-error/178667 "2009-11-09T10:59:39Z")

</div>

Hi there, I am using the acts\_as\_ferret plugin version 0.4.4 with rails 2.3.4 and am getting an error when try to start the Drb server. The error appears to be that the unix\_daemon cannot open the pid file. However t…

---

## [Acts\_as\_ferret.log too big, how to decrease log level?](https://www.ruby-forum.com/t/acts-as-ferret-log-too-big-how-to-decrease-log-level/178353)

<div class="topic-metadata">

**Author:** [@oldbug](https://www.ruby-forum.com/u/oldbug)\
**Replies:** 0\
**Last updated:** [November 3, 2009, 12:22pm UTC](https://www.ruby-forum.com/t/acts-as-ferret-log-too-big-how-to-decrease-log-level/178353 "2009-11-03T12:22:16Z")

</div>

Hello, I love acts\_as\_ferret, but acts\_as\_ferret.log is taking 100s of GB… I try to decrease the log level, but can not find out how to do that. In /usr/lib64/ruby/gems/1.8/gems/acts\_as\_ferret-0.4.4/lib/acts\_as\_ferre…

---

## [Keeping items out of the index AAF](https://www.ruby-forum.com/t/keeping-items-out-of-the-index-aaf/177718)

<div class="topic-metadata">

**Author:** [@tnyplz](https://www.ruby-forum.com/u/tnyplz)\
**Replies:** 2\
**Last updated:** [October 22, 2009, 6:02pm UTC](https://www.ruby-forum.com/t/keeping-items-out-of-the-index-aaf/177718 "2009-10-22T18:02:16Z")

</div>

I’ve seen this question asked a few times but I haven’t seen an answer. I’m using the AAF plugin in my rails app and I have a flag on my model that indicates if an item is to be indexed. I then access this flag via t…

---

## [DRb server does not accept remote access](https://www.ruby-forum.com/t/drb-server-does-not-accept-remote-access/177145)

<div class="topic-metadata">

**Author:** [@buntekuh](https://www.ruby-forum.com/u/buntekuh)\
**Replies:** 0\
**Last updated:** [October 12, 2009, 1:10pm UTC](https://www.ruby-forum.com/t/drb-server-does-not-accept-remote-access/177145 "2009-10-12T13:10:36Z")

</div>

We want to use rails in a load balanced environment - i.e. the same application is load balanced on 2 different servers. The Aaf DRb Server should only run on one of the machines but serve both. I thought, that would …

---

## [Running AAF DRb Server in foreground?](https://www.ruby-forum.com/t/running-aaf-drb-server-in-foreground/175900)

<div class="topic-metadata">

**Author:** [@tnyplz](https://www.ruby-forum.com/u/tnyplz)\
**Replies:** 1\
**Last updated:** [September 22, 2009, 3:36pm UTC](https://www.ruby-forum.com/t/running-aaf-drb-server-in-foreground/175900 "2009-09-22T15:36:20Z")

</div>

Is it possible to run the ActsAsFerret DRb Server in foreground? I’m trying to avoid using monit and I have a few other monitors that only work when processes are run in the foreground.

---

## [Aaf 0.4.4 index population bug?](https://www.ruby-forum.com/t/aaf-0-4-4-index-population-bug/174075)

<div class="topic-metadata">

**Author:** [@indigoi](https://www.ruby-forum.com/u/indigoi)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 1:22pm UTC](https://www.ruby-forum.com/t/aaf-0-4-4-index-population-bug/174075 "2009-08-20T13:22:00Z")

</div>

Hi Jens, I am using Ferret 11.6 and aaf 0.4.4. I am using LocalIndex in development environment as I have not gotten to production stage yet. There seems to be a bug where the Ferret index is not being populated vers…

---

## [How do I index very large file?](https://www.ruby-forum.com/t/how-do-i-index-very-large-file/173921)

<div class="topic-metadata">

**Author:** [@femto](https://www.ruby-forum.com/u/femto)\
**Replies:** 0\
**Last updated:** [August 18, 2009, 9:36am UTC](https://www.ruby-forum.com/t/how-do-i-index-very-large-file/173921 "2009-08-18T09:36:34Z")

</div>

Hello all, I’m doing a monitor application, which fetches log file of application and indexing it, how do I index very large file?, like up to serveral GB. because the application logs may log very large file in shor…

---

## [Can't remove duplicate](https://www.ruby-forum.com/t/cant-remove-duplicate/197092)

<div class="topic-metadata">

**Author:** [@femto](https://www.ruby-forum.com/u/femto)\
**Replies:** 0\
**Last updated:** [August 18, 2009, 8:28am UTC](https://www.ruby-forum.com/t/cant-remove-duplicate/197092 "2009-08-18T08:28:03Z")

</div>

Hello all, I can’t remove duplicate,I’m using ferret to index log file in order to monitor application activity, what I want to do is index data based on the uniqueness of \[filename,line\](actullay should be \[host,file…

---

## [Ferret Usability](https://www.ruby-forum.com/t/ferret-usability/173912)

<div class="topic-metadata">

**Author:** [@Yeung\_William](https://www.ruby-forum.com/u/Yeung_William)\
**Replies:** 0\
**Last updated:** [August 18, 2009, 5:42am UTC](https://www.ruby-forum.com/t/ferret-usability/173912 "2009-08-18T05:42:25Z")

</div>

Guys, I am new to Ferret- I have mixed feeling about this thing. On one side I really like the simplicity of the system- its easy to deploy and used, and I have a lot of choices on integration from aaf or doing my ow…

---

## [Acts\_as\_ferret derived fields and custom analyzer](https://www.ruby-forum.com/t/acts-as-ferret-derived-fields-and-custom-analyzer/173853)

<div class="topic-metadata">

**Author:** [@vsvaidya](https://www.ruby-forum.com/u/vsvaidya)\
**Replies:** 0\
**Last updated:** [August 17, 2009, 3:53am UTC](https://www.ruby-forum.com/t/acts-as-ferret-derived-fields-and-custom-analyzer/173853 "2009-08-17T03:53:45Z")

</div>

Hello! I am using the following Analyzer: require ‘rubygems’ require ‘ferret’ module Ferret module Analysis class StemmingAnalyzer \< Analyzer def initialize(stop\_words = FULL\_ENGLISH\_STOP\_WORDS, lower = true) …

---

## [Can't remove duplicate](https://www.ruby-forum.com/t/cant-remove-duplicate/173852)

<div class="topic-metadata">

**Author:** [@femto](https://www.ruby-forum.com/u/femto)\
**Replies:** 0\
**Last updated:** [August 17, 2009, 3:43am UTC](https://www.ruby-forum.com/t/cant-remove-duplicate/173852 "2009-08-17T03:43:26Z")

</div>

Hello all, I can’t remove duplicate,I’m using ferret to index log file in order to monitor application activity, what I want to do is index data based on the uniqueness of \[filename,line\](actullay should be \[host,file…

---

## [Auto-indexing associated models](https://www.ruby-forum.com/t/auto-indexing-associated-models/167153)

<div class="topic-metadata">

**Author:** [@inari](https://www.ruby-forum.com/u/inari)\
**Replies:** 1\
**Last updated:** [August 10, 2009, 11:14am UTC](https://www.ruby-forum.com/t/auto-indexing-associated-models/167153 "2009-08-10T11:14:42Z")

</div>

I have one central model for which I return search results. However, I have a few fields in associated models that I would like to search as well. By adding methods to the central model, I can easily search for them…

---

## [Ferret on Heroku](https://www.ruby-forum.com/t/ferret-on-heroku/172968)

<div class="topic-metadata">

**Author:** [@norad](https://www.ruby-forum.com/u/norad)\
**Replies:** 0\
**Last updated:** [July 30, 2009, 5:03pm UTC](https://www.ruby-forum.com/t/ferret-on-heroku/172968 "2009-07-30T17:03:08Z")

</div>

Hi all, I am not familiar with Ferret (I would rather have used Thinking Sphinx, but this is not possible on Heroku) So I need to use Ferret for full text search on Heroku. I followed the very little instructions the…

---

## [Ferret result set returning maximum of 10 rows](https://www.ruby-forum.com/t/ferret-result-set-returning-maximum-of-10-rows/172387)

<div class="topic-metadata">

**Author:** [@shaunp](https://www.ruby-forum.com/u/shaunp)\
**Replies:** 2\
**Last updated:** [July 28, 2009, 12:22pm UTC](https://www.ruby-forum.com/t/ferret-result-set-returning-maximum-of-10-rows/172387 "2009-07-28T12:22:24Z")

</div>

I have just upgraded to acts\_as\_ferret-0.4.4 and am experiencing some unexpected behaviour. Although the number of search results can be many e.g. @search\_products = Product.find\_with\_ferret(“query”) @search\_products…

---

## [Ferret search issue](https://www.ruby-forum.com/t/ferret-search-issue/172620)

<div class="topic-metadata">

**Author:** [@santoshturamari](https://www.ruby-forum.com/u/santoshturamari)\
**Replies:** 0\
**Last updated:** [July 24, 2009, 7:11am UTC](https://www.ruby-forum.com/t/ferret-search-issue/172620 "2009-07-24T07:11:13Z")

</div>

Hi Guys, I want to have a ferret search on table community in "advance search" section. Here if I give “information technology” as search string it has to index through industry field of community, so we can index t…

---

## [Ferret search issue](https://www.ruby-forum.com/t/ferret-search-issue/172619)

<div class="topic-metadata">

**Author:** [@santoshturamari](https://www.ruby-forum.com/u/santoshturamari)\
**Replies:** 0\
**Last updated:** [July 24, 2009, 7:05am UTC](https://www.ruby-forum.com/t/ferret-search-issue/172619 "2009-07-24T07:05:51Z")

</div>

Hi Guys, I want to have a ferret search on table community in "advance search" section. Here if I give “information technology” as search string it has to index through industry field of community, so we can index t…

---

## [Multi model search in ferret](https://www.ruby-forum.com/t/multi-model-search-in-ferret/150634)

<div class="topic-metadata">

**Author:** [@manish](https://www.ruby-forum.com/u/manish)\
**Replies:** 1\
**Last updated:** [July 23, 2009, 8:47am UTC](https://www.ruby-forum.com/t/multi-model-search-in-ferret/150634 "2009-07-23T08:47:19Z")

</div>

Hi I want to search 3 models at a time. Is Ferret give any options to search 3 model at a time. so that i get my result. Please help me.

---

## [Multi-core Ferret](https://www.ruby-forum.com/t/multi-core-ferret/172512)

<div class="topic-metadata">

**Author:** [@pjmorse](https://www.ruby-forum.com/u/pjmorse)\
**Replies:** 0\
**Last updated:** [July 22, 2009, 5:16pm UTC](https://www.ruby-forum.com/t/multi-core-ferret/172512 "2009-07-22T17:16:35Z")

</div>

I’m working on a Rails app using aaf and a DRb server to query a Ferret index. Recent upgrades in the code are using Ferret significantly more, and we were torquing the DRb server pretty hard until we started caching …

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

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