On Jun 15, 2007, at 5:03 AM, Mattias Bodlund wrote:

>
> I know that this may be a bit off but the feature I'm looking for is
> to be able to determine how often lets say a name occurs in the
> complete index of an object. By default we sort results
> chronologically - this due to the context of the project.

look into things like...

YourModel.aaf_index.ferret_index.reader.terms(:your_field_name)

and other methods on the index reader:

http://ferret.davebalmain.com/api/classes/Ferret/Index/IndexReader.html
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to