# Ferret Analysis

**URL:** <https://www.ruby-forum.com/t/ferret-analysis/108671>\
**Category:** Ferret\
**Created:** [July 5, 2007, 10:11pm UTC](https://www.ruby-forum.com/t/ferret-analysis/108671 "2007-07-05T22:11:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaredjackson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e9bcb4/32.png) [@jaredjackson](https://www.ruby-forum.com/u/jaredjackson)\
**Post date:** [July 5, 2007, 10:11pm UTC](https://www.ruby-forum.com/t/ferret-analysis/108671/1 "2007-07-05T22:11:50Z")

</div>

Is it possible to query an index and retrieve, for example, the 10 most  
commonly found words in the index?

---

<div class="post-metadata">

**Author:** ![jaredjackson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e9bcb4/32.png) [@jaredjackson](https://www.ruby-forum.com/u/jaredjackson)\
**Post date:** [July 6, 2007, 10:16am UTC](https://www.ruby-forum.com/t/ferret-analysis/108671/2 "2007-07-06T10:16:01Z")

</div>

On Thu, Jul 05, 2007 at 10:11:50PM +0200, Jared Jackson wrote:

> Is it possible to query an index and retrieve, for example, the 10 most  
> commonly found words in the index?

[http://ferret.davebalmain.com/api/classes/Ferret/Index/TermEnum.html](http://ferret.davebalmain.com/api/classes/Ferret/Index/TermEnum.html)  
gets quite close to this - it lets you enumerate all terms of a specific  
field including their frequency.

Jens

–  
Jens Krämer  
webit! Gesellschaft für neue Medien mbH  
Schnorrstraße 76 | 01069 Dresden  
Telefon +49 351 46766-0 | Telefax +49 351 46766-66  
removed\_email\_address@domain.invalid | [www.webit.de](http://www.webit.de)

Amtsgericht Dresden | HRB 15422  
GF Sven Haubold, Hagen Malessa
