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.
Cheers,
Dave
PS: make sure you use the IndexReader#open method to create an IndexReader.
On 2/18/06, Alex Young <alex at blackkettle.org>
wrote:> 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?
>
> Thanks,
> --
> Alex
> _______________________________________________
> Ferret-talk mailing list
> Ferret-talk at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ferret-talk
>