# Can i get a list of all unique indexed words?

**URL:** <https://www.ruby-forum.com/t/can-i-get-a-list-of-all-unique-indexed-words/179949>\
**Category:** Ferret\
**Created:** [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")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cmaxvv](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/85f322/32.png) [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Post date:** [December 8, 2009, 3:54pm UTC](https://www.ruby-forum.com/t/can-i-get-a-list-of-all-unique-indexed-words/179949/1 "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  
from the ferret index, so that when the user clicks on a word in the  
index, i just do a regular ferret search using that word.

With this approach, the only work i need to do is to generate the list  
of terms in the first place (and refresh it occasionally). Is there a  
way to pull this out of the ferret index somehow? It doesn’t have to  
happen in real time, i could do it in a cron job and save the results to  
a text file, or whatever. So, i don’t mind if it’s a slow process.

Grateful for any advice - max
