Forum: Ferret IndexReader NotImplemented

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Alex Y. (Guest)
on 2006-02-17 20:31
(Received via mailing list)
Hi there,

Sorry if this has come up before, but I couldn't see it obviously
addressed anywhere.  There are a few methods in IndexReader that raise
NotImplementedErrors.  I'm specifically interested in get_term_vector,
but there are a number of others.  Is there anything specific holding
these back, or would patches to implement them be accepted?

David B. (Guest)
on 2006-02-18 03:59
(Received via mailing list)
Hi Alex,

These methods are implemented by SegmentReader and MultiReader.
IndexReader is kind of an abstract class. When you open an IndexReader
you'll get either a SegmentReader or a MultiReader so go ahead and use
those methods. They'll be implemented.


PS: make sure you use the IndexReader#open method to create an
This topic is locked and can not be replied to.