[Zope-dev] Pluggable Index How-To Questions

Michel Pelletier michel@digicool.com
Tue, 12 Jun 2001 10:57:34 -0700 (PDT)


On Tue, 12 Jun 2001, Andreas Jung wrote:

> > In uniqueValues, what do the lengths that withLengths returns actually
> mean?
> 
> Good question  - I think uniqueValues is only used for FieldIndex.

Right

>  I think
> you usually must not implement it - I must check this...

if you're making a text index, I guess you could return a list of all the
unique words, but this is probably not that useful.  uniqueValuesFor is
for field indexes (and keyword indexes)

-Michel