# Ferret

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

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

---

## [All Indexes being configured on every page load (seemingly)](https://www.ruby-forum.com/t/all-indexes-being-configured-on-every-page-load-seemingly/155397)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 2\
**Last updated:** [December 11, 2008, 2:54pm UTC](https://www.ruby-forum.com/t/all-indexes-being-configured-on-every-page-load-seemingly/155397 "2008-12-11T14:54:00Z")

</div>

Hi - i’m doing some DB optimisations on our site, mainly by watching the log files (in dev mode) and seeing what db access is going on. I’m seeing a lot of massive outputs like below - this is for one of my ferret-in…

---

## [Need some information about Ferret](https://www.ruby-forum.com/t/need-some-information-about-ferret/154472)

<div class="topic-metadata">

**Author:** [@lyes](https://www.ruby-forum.com/u/lyes)\
**Replies:** 9\
**Last updated:** [December 5, 2008, 9:56pm UTC](https://www.ruby-forum.com/t/need-some-information-about-ferret/154472 "2008-12-05T21:56:45Z")

</div>

Hi everybody! In our company, we want to use Ferret as the main index/search engine of our applications. And we are looking for some testimonies about how Ferret is efficient when deployed in production. Was Ferr…

---

## [Some body use ActsAssFerret from trunk?](https://www.ruby-forum.com/t/some-body-use-actsassferret-from-trunk/154942)

<div class="topic-metadata">

**Author:** [@capi](https://www.ruby-forum.com/u/capi)\
**Replies:** 0\
**Last updated:** [December 5, 2008, 12:02pm UTC](https://www.ruby-forum.com/t/some-body-use-actsassferret-from-trunk/154942 "2008-12-05T12:02:15Z")

</div>

Hi guys! Some body use ActsAssFerret from trunk With Drb server?

---

## [Order by scoring, pagination and AR conditions don't work together](https://www.ruby-forum.com/t/order-by-scoring-pagination-and-ar-conditions-dont-work-together/154846)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 0\
**Last updated:** [December 4, 2008, 1:22pm UTC](https://www.ruby-forum.com/t/order-by-scoring-pagination-and-ar-conditions-dont-work-together/154846 "2008-12-04T13:22:16Z")

</div>

Hi all I’m having a problem with aaf - i want to do a search and order the results by the ferret score. I also want to paginate the results (20 per page), and to complicate matters further i have an array of ‘allow…

---

## [DrbServer incompatible with config.gem](https://www.ruby-forum.com/t/drbserver-incompatible-with-config-gem/154500)

<div class="topic-metadata">

**Author:** [@daveamos](https://www.ruby-forum.com/u/daveamos)\
**Replies:** 2\
**Last updated:** [December 3, 2008, 12:19am UTC](https://www.ruby-forum.com/t/drbserver-incompatible-with-config-gem/154500 "2008-12-03T00:19:45Z")

</div>

I recently upgraded to Rails 2.2.2 and refactored some of my rails code to use the config.gem functionality. In doing so, I noticed some odd behavior when trying to start the DrbServer. Essentially, the DrbServer will…

---

## [Problem with Adge ActsAsFerret](https://www.ruby-forum.com/t/problem-with-adge-actsasferret/154093)

<div class="topic-metadata">

**Author:** [@capi](https://www.ruby-forum.com/u/capi)\
**Replies:** 0\
**Last updated:** [November 25, 2008, 10:29am UTC](https://www.ruby-forum.com/t/problem-with-adge-actsasferret/154093 "2008-11-25T10:29:44Z")

</div>

Hi guys! We try use ActsAsFerret from trunk But shit happen! We create singel index for multi models like in http://www.ruby-forum.com/topic/167953#new When we use Local index all work good. But when work with Drb …

---

## [Ferret creating new index files](https://www.ruby-forum.com/t/ferret-creating-new-index-files/153596)

<div class="topic-metadata">

**Author:** [@nappin](https://www.ruby-forum.com/u/nappin)\
**Replies:** 0\
**Last updated:** [November 19, 2008, 7:21am UTC](https://www.ruby-forum.com/t/ferret-creating-new-index-files/153596 "2008-11-19T07:21:17Z")

</div>

Hi, We generate our index on another server and then rsync it over nightly to each webserver. We run an old version of AAF on our rails site. The index represents an inventory model which is never touched by the ra…

---

## [:multi search (again)](https://www.ruby-forum.com/t/multi-search-again/150941)

<div class="topic-metadata">

**Author:** [@davedave](https://www.ruby-forum.com/u/davedave)\
**Replies:** 3\
**Last updated:** [November 14, 2008, 11:27pm UTC](https://www.ruby-forum.com/t/multi-search-again/150941 "2008-11-14T23:27:52Z")

</div>

Hello I’ve poured over as much of this topic regarding multi model searching in acts\_as\_ferret yet I’m still appearing to come up blank. Hopefully someone here could help, I have the following in my artist model art…

---

## [Sphinx port issue?](https://www.ruby-forum.com/t/sphinx-port-issue/153275)

<div class="topic-metadata">

**Author:** [@dezrtdude](https://www.ruby-forum.com/u/dezrtdude)\
**Replies:** 0\
**Last updated:** [November 14, 2008, 10:03am UTC](https://www.ruby-forum.com/t/sphinx-port-issue/153275 "2008-11-14T10:03:37Z")

</div>

Hi, I am using thinking sphinx on a shared server. I tried to set up Cron Job with the following command: rake thinking\_sphinx:stop RAILS\_ENV=production;rake thinking\_sphinx:index RAILS\_ENV=production;rake thinking\_s…

---

## [Ferret crash when using lazy\_doc after closing IndexReader](https://www.ruby-forum.com/t/ferret-crash-when-using-lazy-doc-after-closing-indexreader/153238)

<div class="topic-metadata">

**Author:** [@Eduardo\_Habkost](https://www.ruby-forum.com/u/Eduardo_Habkost)\
**Replies:** 0\
**Last updated:** [November 13, 2008, 7:30pm UTC](https://www.ruby-forum.com/t/ferret-crash-when-using-lazy-doc-after-closing-indexreader/153238 "2008-11-13T19:30:13Z")

</div>

Hi, As the Ferret site is down for a while, I am reporting this bug here, so it gets documented somewhere and people with more experience with Ferret can comment. I was hitting this crash easily on Sup, that uses Fer…

---

## [Exact matching in a query](https://www.ruby-forum.com/t/exact-matching-in-a-query/152703)

<div class="topic-metadata">

**Author:** [@jamieal74](https://www.ruby-forum.com/u/jamieal74)\
**Replies:** 0\
**Last updated:** [November 6, 2008, 4:28pm UTC](https://www.ruby-forum.com/t/exact-matching-in-a-query/152703 "2008-11-06T16:28:32Z")

</div>

I have a need for a layer of access control when performing a query on the ferret index. The solution is to add an additional clause (e.g. - access\_teams:12 OR 13 OR 14 OR 22 OR 1). In order for this to work, I need…

---

## [List of terms matched by a query (and their position/offset)](https://www.ruby-forum.com/t/list-of-terms-matched-by-a-query-and-their-position-offset/152229)

<div class="topic-metadata">

**Author:** [@Karl\_Meisterheim](https://www.ruby-forum.com/u/Karl_Meisterheim)\
**Replies:** 0\
**Last updated:** [October 31, 2008, 4:00pm UTC](https://www.ruby-forum.com/t/list-of-terms-matched-by-a-query-and-their-position-offset/152229 "2008-10-31T16:00:37Z")

</div>

Hi Jens, Thanks for the reply. What you say makes sense, but I’m hoping for a simpler implementation. I guess it boils down to this: When I conduct a search in ferret / AAF, I get an array of documents back. Someho…

---

## [Strange behavior with acts\_as\_ferret in dev environment](https://www.ruby-forum.com/t/strange-behavior-with-acts-as-ferret-in-dev-environment/130279)

<div class="topic-metadata">

**Author:** [@jmaziarz](https://www.ruby-forum.com/u/jmaziarz)\
**Replies:** 1\
**Last updated:** [October 30, 2008, 2:17pm UTC](https://www.ruby-forum.com/t/strange-behavior-with-acts-as-ferret-in-dev-environment/130279 "2008-10-30T14:17:11Z")

</div>

I’m just wondering if this is expected behavior or not in the dev environment, and if not, what I could be doing wrong… I have a Contact model with the following line: acts\_as\_ferret :fields =\> \[ :first\_name, :middle\_…

---

## [Segmentation fault while combing stopfilter and stem filter](https://www.ruby-forum.com/t/segmentation-fault-while-combing-stopfilter-and-stem-filter/152100)

<div class="topic-metadata">

**Author:** [@lyes](https://www.ruby-forum.com/u/lyes)\
**Replies:** 0\
**Last updated:** [October 30, 2008, 4:36am UTC](https://www.ruby-forum.com/t/segmentation-fault-while-combing-stopfilter-and-stem-filter/152100 "2008-10-30T04:36:48Z")

</div>

Hi list I’ve made a personal analyzer that combine the stemming and the stop words filtering, my indexing works fine for a while, but it crashes with a segmentation fault when I use the stemming alone, it works ver…

---

## [Acts\_as\_ferret - need to remove markup from column first](https://www.ruby-forum.com/t/acts-as-ferret-need-to-remove-markup-from-column-first/150043)

<div class="topic-metadata">

**Author:** [@gaudimila](https://www.ruby-forum.com/u/gaudimila)\
**Replies:** 1\
**Last updated:** [October 28, 2008, 8:41pm UTC](https://www.ruby-forum.com/t/acts-as-ferret-need-to-remove-markup-from-column-first/150043 "2008-10-28T20:41:53Z")

</div>

We’re using acts\_as\_ferret on a column called ‘body’ which normally has html markup in it. We want to continue to store the markup in our database, but we want to remove the markup from that field before Ferret index…

---

## [Indexed?](https://www.ruby-forum.com/t/indexed/151101)

<div class="topic-metadata">

**Author:** [@tomtoday](https://www.ruby-forum.com/u/tomtoday)\
**Replies:** 1\
**Last updated:** [October 28, 2008, 8:38pm UTC](https://www.ruby-forum.com/t/indexed/151101 "2008-10-28T20:38:16Z")

</div>

Hi, I have problem with indexing simple structire. Indexing single element works, but dong it in a little bit more complex code fails. require ‘ferret’ include Ferret # 0.11.5 on win32 require ‘engtagger’ # http://…

---

## [AAF + DRb + Windows. Index works, search maybe?](https://www.ruby-forum.com/t/aaf-drb-windows-index-works-search-maybe/151966)

<div class="topic-metadata">

**Author:** [@chrisdwan](https://www.ruby-forum.com/u/chrisdwan)\
**Replies:** 1\
**Last updated:** [October 28, 2008, 8:26pm UTC](https://www.ruby-forum.com/t/aaf-drb-windows-index-works-search-maybe/151966 "2008-10-28T20:26:23Z")

</div>

Currently running the following setup: -Ferret 0.11.5 -Acts as Ferret plugin 0.4.3 Rev.257 -Rails 2.1.1 -Ruby 1.8.6 Patchlevel 111 -Windows 2003 Server This all works fine and dandy and after a lot of struggling wi…

---

## [List of terms matched by a query (and their position/offset)](https://www.ruby-forum.com/t/list-of-terms-matched-by-a-query-and-their-position-offset/151477)

<div class="topic-metadata">

**Author:** [@kmeister2000](https://www.ruby-forum.com/u/kmeister2000)\
**Replies:** 1\
**Last updated:** [October 28, 2008, 8:03pm UTC](https://www.ruby-forum.com/t/list-of-terms-matched-by-a-query-and-their-position-offset/151477 "2008-10-28T20:03:03Z")

</div>

Hi, I have some xml that represents a document. I parse the xml and place specific parts (like the title) into the appropriate fields in my document. The xml contains the normal document elements like a title, bod…

---

## [Empty results from drb](https://www.ruby-forum.com/t/empty-results-from-drb/151625)

<div class="topic-metadata">

**Author:** [@neongrau](https://www.ruby-forum.com/u/neongrau)\
**Replies:** 0\
**Last updated:** [October 23, 2008, 3:49pm UTC](https://www.ruby-forum.com/t/empty-results-from-drb/151625 "2008-10-23T15:49:55Z")

</div>

hello! i’m having a really weird issue on a windows server running a ferret drb (as a win service) that serves 4 mongrels balanced by an apache. even after hours of trying i wasn’t able to reproduce it in a way that …

---

## [Stuart Rackham's Ferret Helper](https://www.ruby-forum.com/t/stuart-rackhams-ferret-helper/151429)

<div class="topic-metadata">

**Author:** [@Hugh\_S](https://www.ruby-forum.com/u/Hugh_S)\
**Replies:** 0\
**Last updated:** [October 21, 2008, 11:32am UTC](https://www.ruby-forum.com/t/stuart-rackhams-ferret-helper/151429 "2008-10-21T11:32:07Z")

</div>

I’ve put some modified versions of Stuart R.'s Ferret Helper up at http://www.eng.cse.dmu.ac.uk/~hgs/ruby/#ff.rb My mods are to improve the number of file types searched, and to ease the configuration a little. I’ve…

---

## [Case sensitive with umlauts?](https://www.ruby-forum.com/t/case-sensitive-with-umlauts/144434)

<div class="topic-metadata">

**Author:** [@tobstarr](https://www.ruby-forum.com/u/tobstarr)\
**Replies:** 1\
**Last updated:** [October 17, 2008, 5:37pm UTC](https://www.ruby-forum.com/t/case-sensitive-with-umlauts/144434 "2008-10-17T17:37:00Z")

</div>

Hi all, i’ve got a problem with words which contain (german) umlauts (Ã¤,Ã¶, etc.). Here are some examples: indexed words: schÃ¤fer, hund query “hund” -\> hit query “Hund” -\> hit query “schÃ¤fer” -\> hit query “SchÃ…

---

## [Acts\_as\_ferret and indexes created with ferret](https://www.ruby-forum.com/t/acts-as-ferret-and-indexes-created-with-ferret/151081)

<div class="topic-metadata">

**Author:** [@lyes](https://www.ruby-forum.com/u/lyes)\
**Replies:** 2\
**Last updated:** [October 16, 2008, 4:32pm UTC](https://www.ruby-forum.com/t/acts-as-ferret-and-indexes-created-with-ferret/151081 "2008-10-16T16:32:09Z")

</div>

Hello List! I’ve have created an index using a Rerret based application, and may aim is to create a Ruby R. Web application that will allows to search using my index! I tried yo use the acts\_as\_ferret plugin for Ra…

---

## [Official repo?](https://www.ruby-forum.com/t/official-repo/151042)

<div class="topic-metadata">

**Author:** [@timothy\_g](https://www.ruby-forum.com/u/timothy_g)\
**Replies:** 0\
**Last updated:** [October 16, 2008, 8:46am UTC](https://www.ruby-forum.com/t/official-repo/151042 "2008-10-16T08:46:35Z")

</div>

Hi all, After a bit of searching I finally found: A github site - GitHub - dbalmain/ferret: Ferret: the extensible information retrieval library for ruby. And a git repository - git://github.com/dbalmain/ferret.git T…

---

## [Passing the search results object to a URL](https://www.ruby-forum.com/t/passing-the-search-results-object-to-a-url/150983)

<div class="topic-metadata">

**Author:** [@pozza](https://www.ruby-forum.com/u/pozza)\
**Replies:** 0\
**Last updated:** [October 15, 2008, 4:18pm UTC](https://www.ruby-forum.com/t/passing-the-search-results-object-to-a-url/150983 "2008-10-15T16:18:12Z")

</div>

Hello, I would like to pass the search results to an export method to create an excel spreadsheet. Is there a way to pass the search results object in a URL? The URL being created is: http://localhost:3000/expenses/e…

---

## [:single\_index deprecated?](https://www.ruby-forum.com/t/single-index-deprecated/150647)

<div class="topic-metadata">

**Author:** [@farfignugen](https://www.ruby-forum.com/u/farfignugen)\
**Replies:** 2\
**Last updated:** [October 13, 2008, 10:19pm UTC](https://www.ruby-forum.com/t/single-index-deprecated/150647 "2008-10-13T22:19:51Z")

</div>

I noticed that the :single\_index option is no longer listed in the documentation for AAF, specifically in lib/acts\_methods.rb \[1\] Furthermore, after an upgrade from a rather old version of AAF, I notice that the index…

---

## [Will\_paginate : problem with undefined method \`total\_pages](https://www.ruby-forum.com/t/will-paginate-problem-with-undefined-method-total-pages/150776)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 2\
**Last updated:** [October 13, 2008, 11:45am UTC](https://www.ruby-forum.com/t/will-paginate-problem-with-undefined-method-total-pages/150776 "2008-10-13T11:45:17Z")

</div>

Using Rails 2.1 mislav-will\_paginate 2.3.4 acts\_as\_ferret 0.4.3 Everything works fine except if I have this in my view \<%= page\_entries\_info @listitems %\> which works for a normal find or paginate\_…

---

## [Undefined method \`add' called for #\<ActsAsFerret::Remote::Se](https://www.ruby-forum.com/t/undefined-method-add-called-for-actsasferret-se/150422)

<div class="topic-metadata">

**Author:** [@irsami1982](https://www.ruby-forum.com/u/irsami1982)\
**Replies:** 0\
**Last updated:** [October 8, 2008, 11:49am UTC](https://www.ruby-forum.com/t/undefined-method-add-called-for-actsasferret-se/150422 "2008-10-08T11:49:11Z")

</div>

undefined method \`add’ called for #ActsAsFerret::Remote::Server:0x7f5be279ea38 I am currently using ferret (0.11.6) and act\_as\_ferret (0.4.3) My project is using rails 2.1.1 and ruby 1.8.6 along with sqlite3 and Webr…

---

## [Getting started in Ferret](https://www.ruby-forum.com/t/getting-started-in-ferret/150100)

<div class="topic-metadata">

**Author:** [@Hugh\_S](https://www.ruby-forum.com/u/Hugh_S)\
**Replies:** 0\
**Last updated:** [October 3, 2008, 7:19pm UTC](https://www.ruby-forum.com/t/getting-started-in-ferret/150100 "2008-10-03T19:19:08Z")

</div>

I recent found the ferret book, looked at it and decided it was time I looked into this. A few questions, having rushed through most of the book once. O’Reilly books traditionally point to a place where the code can …

---

## [Using tokenizers?](https://www.ruby-forum.com/t/using-tokenizers/149691)

<div class="topic-metadata">

**Author:** [@lyes](https://www.ruby-forum.com/u/lyes)\
**Replies:** 2\
**Last updated:** [October 2, 2008, 11:58am UTC](https://www.ruby-forum.com/t/using-tokenizers/149691 "2008-10-02T11:58:50Z")

</div>

Hi lis I using Ferret to index some files for a specific usage. I want to know how can I set a tokenizer for some of my index fields and if I can choose a different tokenizer for each field. For example: If in my do…

---

## [Can't japanese retrieval](https://www.ruby-forum.com/t/cant-japanese-retrieval/149802)

<div class="topic-metadata">

**Author:** [@kiri](https://www.ruby-forum.com/u/kiri)\
**Replies:** 0\
**Last updated:** [September 30, 2008, 12:24am UTC](https://www.ruby-forum.com/t/cant-japanese-retrieval/149802 "2008-09-30T00:24:15Z")

</div>

Hi. I’ve installed Radiant CMS and AAF Search extentions\[1\] which works fine and search page works well except japanese word retrieval. Is it possible to japanese retrieval and how to set up to do that? \[1\] http://…

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

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