# Ferret

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

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

---

## [Error Installing Ferret on Mac OS X 10.8.5](https://www.ruby-forum.com/t/error-installing-ferret-on-mac-os-x-10-8-5/240615)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [April 23, 2014, 2:47pm UTC](https://www.ruby-forum.com/t/error-installing-ferret-on-mac-os-x-10-8-5/240615 "2014-04-23T14:47:21Z")

</div>

Hi, I try to install Ferret on my Mac (OS X 10.8.5) using the command “sudo gem install ferret” and get the error message, shown below. The Mac does have Ruby installed on it and I use Ruby frequently to successfully…

---

## [~6/2/2013 12:49:14 pm~](https://www.ruby-forum.com/t/6-2-2013-1214-pm/245446)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [June 2, 2013, 1:57pm UTC](https://www.ruby-forum.com/t/6-2-2013-1214-pm/245446 "2013-06-02T13:57:29Z")

</div>

http://fabrikaznany.ru/bprv/vdirepsdmtjhzupmk.aygyyyid

---

## [Welcome to](https://www.ruby-forum.com/t/welcome-to/226718)

<div class="topic-metadata">

**Author:** [@amit](https://www.ruby-forum.com/u/amit)\
**Replies:** 0\
**Last updated:** [February 19, 2013, 12:21pm UTC](https://www.ruby-forum.com/t/welcome-to/226718 "2013-02-19T12:21:55Z")

</div>

http://ncloyaltyrewards.com/teemu.php?mowifjv=s1%rt�y%r3%v0%y6�%j7%h6%k8P&ihaxyciho=1565821

---

## [Linux memory usage of a process](https://www.ruby-forum.com/t/linux-memory-usage-of-a-process/224871)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [November 29, 2012, 4:20am UTC](https://www.ruby-forum.com/t/linux-memory-usage-of-a-process/224871 "2012-11-29T04:20:37Z")

</div>

---

## [Re: (no subject)](https://www.ruby-forum.com/t/re-no-subject/224628)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [November 19, 2012, 6:58pm UTC](https://www.ruby-forum.com/t/re-no-subject/224628 "2012-11-19T18:58:14Z")

</div>

http://margaritamande.com/best\_site.php?t=m9y0v2p9b1

---

## [Near-real time support in ferret](https://www.ruby-forum.com/t/near-real-time-support-in-ferret/221410)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [July 12, 2012, 11:47pm UTC](https://www.ruby-forum.com/t/near-real-time-support-in-ferret/221410 "2012-07-12T23:47:38Z")

</div>

Hello, Does ferret support near real time searching? I want to index documents and search them as quickly as possible. Currently I am indexing, then persisting the data and retrieving the results from the disk. I am k…

---

## [Build ferret for large-file support](https://www.ruby-forum.com/t/build-ferret-for-large-file-support/221409)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [July 12, 2012, 11:42pm UTC](https://www.ruby-forum.com/t/build-ferret-for-large-file-support/221409 "2012-07-12T23:42:34Z")

</div>

Hello, I want to using ferret to do indexing and searching in my application. I am indexing a large number of documents say, 5 million. What should be done to optimize ferret for large file-support? Currrently the :m…

---

## [Frustrating Ferret](https://www.ruby-forum.com/t/frustrating-ferret/219997)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [May 24, 2012, 1:19pm UTC](https://www.ruby-forum.com/t/frustrating-ferret/219997 "2012-05-24T13:19:14Z")

</div>

I stuck in search element problem. I am trying to install ferret on my window 7. But tried a lot but couldn’t succeed. I ran following command to install the ferret gem. gem install ferret gem install ferret --versio…

---

## [(no subject)](https://www.ruby-forum.com/t/no-subject/214777)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [December 12, 2011, 9:26am UTC](https://www.ruby-forum.com/t/no-subject/214777 "2011-12-12T09:26:08Z")

</div>

http://medcorpadaptions.com.au.tmp.anchor.net.au/family.php?gid=41&kj=57&fece=828&cj=18

---

## [Searching with synonyms](https://www.ruby-forum.com/t/searching-with-synonyms/205532)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [April 8, 2011, 8:41am UTC](https://www.ruby-forum.com/t/searching-with-synonyms/205532 "2011-04-08T08:41:59Z")

</div>

Hello, I’m currently working on a project, which is a search engine, and I need the ability to search the index, created with Ferret, using synonyms. I have based my current code on following articles: http://www.rub…

---

## [Searching from a Lucene created Index](https://www.ruby-forum.com/t/searching-from-a-lucene-created-index/205407)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [April 6, 2011, 2:03am UTC](https://www.ruby-forum.com/t/searching-from-a-lucene-created-index/205407 "2011-04-06T02:03:49Z")

</div>

Hi, I’m trying to open a Index created by Lucene 1.9.1. I know the index has not been corrupted, I can browse it with Luke but when I try: irb\> Ferret::Index::IndexReader.new("./index’") I get the following error me…

---

## [Custom highlighter/match vector access?](https://www.ruby-forum.com/t/custom-highlighter-match-vector-access/203600)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [February 23, 2011, 5:16pm UTC](https://www.ruby-forum.com/t/custom-highlighter-match-vector-access/203600 "2011-02-23T17:16:08Z")

</div>

Hi everyone, I know from the archives things have kinda slowed down on ferret and there’s an effort ongoing with lucy, but I was wondering if anyone had discovered a way to enumerate the matches of a particular field …

---

## [Acts\_as\_ferret error: DRbServerNotFound](https://www.ruby-forum.com/t/acts-as-ferret-error-drbservernotfound/202479)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [January 30, 2011, 11:37am UTC](https://www.ruby-forum.com/t/acts-as-ferret-error-drbservernotfound/202479 "2011-01-30T11:37:46Z")

</div>

Hi, I am trying to get acts\_as\_ferret to work in my Rails 2 app. I am using the acts\_as\_ferret 0.4.8 and ferret 0.11.6 gems. I am trying to search a Profile model in my application that has the following code: acts\_…

---

## [Install act\_as\_ferret on win xp](https://www.ruby-forum.com/t/install-act-as-ferret-on-win-xp/200294)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [December 8, 2010, 5:34pm UTC](https://www.ruby-forum.com/t/install-act-as-ferret-on-win-xp/200294 "2010-12-08T17:34:49Z")

</div>

Hi There! Im trying to install act\_as ferret on win xp, with this environment: winXP ruby : 1.8.7 rails: 2.3.8 gem list: abstract (1.0.0) actionmailer (3.0.1, 2.3.8, 1.3.3) actionpack (3.0.1, 2.3.8, 2.3.2, 1.13.…

---

## [Wildcard queries on stemmed indexes](https://www.ruby-forum.com/t/wildcard-queries-on-stemmed-indexes/199998)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [December 2, 2010, 5:30pm UTC](https://www.ruby-forum.com/t/wildcard-queries-on-stemmed-indexes/199998 "2010-12-02T17:30:24Z")

</div>

Hello! I’m using the German stemming analyzer to index a database using acts\_as\_ferret. I have some troube with wildcard queries which I’m extensivly using (and needing) for autocompleter fields. The problem is the f…

---

## [Apache Lucy invitation](https://www.ruby-forum.com/t/apache-lucy-invitation/199448)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 0\
**Last updated:** [November 21, 2010, 7:30pm UTC](https://www.ruby-forum.com/t/apache-lucy-invitation/199448 "2010-11-21T19:30:02Z")

</div>

\[\[cross-posted from the ruby-forum list\]\] Hi. Back in 2006\[0\], Dave Balmain and Marvin H. agreed to join forces on their search projects, Ferret and KinoSearch (respectively), and created the Lucy project at Apache. …

---

## [Apache Lucy invitation](https://www.ruby-forum.com/t/apache-lucy-invitation/199368)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [November 19, 2010, 4:37pm UTC](https://www.ruby-forum.com/t/apache-lucy-invitation/199368 "2010-11-19T16:37:30Z")

</div>

Hi. Back in 2006\[0\], Dave Balmain and Marvin H. agreed to join forces on their search projects, Ferret and KinoSearch (respectively), and created the Lucy project at Apache. Now it’s 2010. Lucy is in the Apache Incub…

---

## [Newbie question](https://www.ruby-forum.com/t/newbie-question/199142)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 1\
**Last updated:** [November 15, 2010, 3:50pm UTC](https://www.ruby-forum.com/t/newbie-question/199142 "2010-11-15T15:50:39Z")

</div>

Hello, Newbie question here: I have written a simple code to test my ruby knowledge. It is as follows: class Mastermind def k(a,b) v = a+b put v end k(2,3) end When I run the class, I want to see the code re…

---

## [How to sort only by frequency of the keyword](https://www.ruby-forum.com/t/how-to-sort-only-by-frequency-of-the-keyword/197426)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [October 14, 2010, 10:03am UTC](https://www.ruby-forum.com/t/how-to-sort-only-by-frequency-of-the-keyword/197426 "2010-10-14T10:03:47Z")

</div>

Hi I meet a situation that search results should be sorted only by the frequency of the keyword in the document. Since the default score calculating considers many other factor, I cannot just sort by score. Is there …

---

## [Direct access to similarity, idf, tf](https://www.ruby-forum.com/t/direct-access-to-similarity-idf-tf/174314)

<div class="topic-metadata">

**Author:** [@rpacheco](https://www.ruby-forum.com/u/rpacheco)\
**Replies:** 2\
**Last updated:** [September 27, 2010, 9:40pm UTC](https://www.ruby-forum.com/t/direct-access-to-similarity-idf-tf/174314 "2010-09-27T21:40:45Z")

</div>

Hello, I need access to similarity, tf, idf and some other content from the same level. I’ve been studying the code for three days now and I’m almost sure that there’s no way to do that “directly” from ruby code. As…

---

## [Default text in search text field](https://www.ruby-forum.com/t/default-text-in-search-text-field/190942)

<div class="topic-metadata">

**Author:** [@makotogim](https://www.ruby-forum.com/u/makotogim)\
**Replies:** 2\
**Last updated:** [September 24, 2010, 12:07am UTC](https://www.ruby-forum.com/t/default-text-in-search-text-field/190942 "2010-09-24T00:07:41Z")

</div>

Hello, I am trying to figure out how I can introduce a default text in my searchbox that is removed automatically when the user tries to write something. Is this possible to do it with some kind of ferret command? Th…

---

## [Doing a join between two ferret indexes?](https://www.ruby-forum.com/t/doing-a-join-between-two-ferret-indexes/137142)

<div class="topic-metadata">

**Author:** [@Izidor\_J](https://www.ruby-forum.com/u/Izidor_J)\
**Replies:** 1\
**Last updated:** [September 5, 2010, 6:28am UTC](https://www.ruby-forum.com/t/doing-a-join-between-two-ferret-indexes/137142 "2010-09-05T06:28:19Z")

</div>

Hello, everybody, we have a situation where there are two sets of information about documents - slow changing and fast changing properties. We index documents by slow changing properties (content) using Ferret directl…

---

## [Merge multiple Ferret indexes in one](https://www.ruby-forum.com/t/merge-multiple-ferret-indexes-in-one/194424)

<div class="topic-metadata">

**Author:** [@zab](https://www.ruby-forum.com/u/zab)\
**Replies:** 0\
**Last updated:** [September 5, 2010, 5:06am UTC](https://www.ruby-forum.com/t/merge-multiple-ferret-indexes-in-one/194424 "2010-09-05T05:06:05Z")

</div>

Hi list, Is it possible to merge 2 (or more) Ferret indexes in one? Code snippet will be appreciate! Thanks Zab

---

## [Acts\_as\_ferret not working with mongrel](https://www.ruby-forum.com/t/acts-as-ferret-not-working-with-mongrel/192786)

<div class="topic-metadata">

**Author:** [@lucky1234](https://www.ruby-forum.com/u/lucky1234)\
**Replies:** 0\
**Last updated:** [August 5, 2010, 2:20pm UTC](https://www.ruby-forum.com/t/acts-as-ferret-not-working-with-mongrel/192786 "2010-08-05T14:20:20Z")

</div>

Hi Am using ruby 1.8.7 and rails 2.3.5 When a performing update or create on models am getting ferret error. In my server app runnign with developemntmode + morethan one mongrel servers. Ferret::FileNotFoundError (Fi…

---

## [Acts\_as\_ferret and Will\_paginate](https://www.ruby-forum.com/t/acts-as-ferret-and-will-paginate/189829)

<div class="topic-metadata">

**Author:** [@paradise](https://www.ruby-forum.com/u/paradise)\
**Replies:** 0\
**Last updated:** [June 8, 2010, 3:28pm UTC](https://www.ruby-forum.com/t/acts-as-ferret-and-will-paginate/189829 "2010-06-08T15:28:09Z")

</div>

I am running acts\_as\_ferret and will\_paginate 2.3.11, I have the following code in controller @ads = Ad.find\_with\_ferret(params\[:q\]+"~", :page =\> params\[‘page’\], :per\_page =\> 10) View \<removed\_email\_address@domain.…

---

## [Ferret search engine as a daemon?](https://www.ruby-forum.com/t/ferret-search-engine-as-a-daemon/188992)

<div class="topic-metadata">

**Author:** [@Zakay\_Danial](https://www.ruby-forum.com/u/Zakay_Danial)\
**Replies:** 1\
**Last updated:** [May 21, 2010, 7:00pm UTC](https://www.ruby-forum.com/t/ferret-search-engine-as-a-daemon/188992 "2010-05-21T19:00:06Z")

</div>

Hello, I just found out about Ferret. I am searching for good/capable/fast search engine, but I also would want to talk to the search engine using TCP. Is there a way to run the search engine as a daemon so that it h…

---

## [NameError when using acts\_as\_ferret in model](https://www.ruby-forum.com/t/nameerror-when-using-acts-as-ferret-in-model/188649)

<div class="topic-metadata">

**Author:** [@manish](https://www.ruby-forum.com/u/manish)\
**Replies:** 0\
**Last updated:** [May 15, 2010, 3:41pm UTC](https://www.ruby-forum.com/t/nameerror-when-using-acts-as-ferret-in-model/188649 "2010-05-15T15:41:43Z")

</div>

Hi all I am getting this error when I am using acts\_as\_ferret :fields =\>\[:competitor\], :remote =\> true NameError in PartController#index uninitialized constant PartController::Competitor My Model class Competitor \<…

---

## [Segmentation fault (ferret/index.rb:394)](https://www.ruby-forum.com/t/segmentation-fault-ferret-index-rb-394/184524)

<div class="topic-metadata">

**Author:** [@oldbug](https://www.ruby-forum.com/u/oldbug)\
**Replies:** 1\
**Last updated:** [May 5, 2010, 7:04am UTC](https://www.ruby-forum.com/t/segmentation-fault-ferret-index-rb-394/184524 "2010-05-05T07:04:09Z")

</div>

/usr/lib64/ruby/gems/1.8/gems/ferret-0.11.6/lib/ferret/index.rb:394: \[BUG\] Segmentation fault ruby 1.8.6 (2008-08-11) \[x86\_64-linux\] Any idea ?

---

## [Named Entity Extractor](https://www.ruby-forum.com/t/named-entity-extractor/187466)

<div class="topic-metadata">

**Author:** [@djmook](https://www.ruby-forum.com/u/djmook)\
**Replies:** 0\
**Last updated:** [April 23, 2010, 5:00pm UTC](https://www.ruby-forum.com/t/named-entity-extractor/187466 "2010-04-23T17:00:53Z")

</div>

Has any one written (or contemplated writing) a named entity extractor/recognition for Ferret?

---

## [Will\_paginate creating links for all in a ferret search](https://www.ruby-forum.com/t/will-paginate-creating-links-for-all-in-a-ferret-search/187123)

<div class="topic-metadata">

**Author:** [@mydarkpassenger](https://www.ruby-forum.com/u/mydarkpassenger)\
**Replies:** 0\
**Last updated:** [April 17, 2010, 4:35pm UTC](https://www.ruby-forum.com/t/will-paginate-creating-links-for-all-in-a-ferret-search/187123 "2010-04-17T16:35:09Z")

</div>

When I use act\_as\_ferret with will\_paginate the first page of results creates links for all items instead of the filtered result. On other pages it works correctly. For example: #controller @users = User.paginate U…

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