Index#term_docs returns no docs / term_docs_for does

I’m building my first Filter and I’m running into an issue with

As I understand it, index_reader.term_docs should return a
term-document enumerator for the entire index:

index_reader.term_docs => empty set

However, I’m getting an empty set. Interestingly enough, the following:

index_reader.term_docs_for(:name, ‘coffee’) => lots of documents

Is returning plenty of documents.

I’m expecting #term_docs to return an enumerator that allows me to
step through the entire index - any ideas on what I’m doing wrong?

I’m using acts_as_ferret and I’m on version 0.10.13 of the gem on OSX.

Thanks in advance for any assistance,


Derek H.
Highgroove Studios -
San Francisco, CA | Atlanta, GA
Keeping it Simple.

Slingshot - Ruby on Rails Business Hosting