[Zope-dev] Catalog Indexes.

Chris Withers chrisw@nipltd.com
Mon, 09 Apr 2001 15:28:47 +0100


Erik Enge wrote:
> 
> Wow, KeyIndex?  Is this a new one?  Or did you mean KeywordIndex?

Bleugh... KeywordIndex :-)

> > > Which of them do I use to index a telephone number
> >
> > How would you like to search that index?
> 
> I'd like to find this telephone number (it is a string...): +44 1234
> 123456.

But no partial matching? Use a FieldIndex...
If you want partial matching you're fu... not in a very good position ;-)

> > Likewise...
> 
> As above, passing the string to searchResults; "erik@thingamy.net" f ex.

FieldIndex...

> > You probably want a FieldIndex but it might not be searchable in the
> > way you want...
> 
> Which one would?

There is a proposal for drop-in indexes on dev.zope.org...

*grinz*

Chris