[Zope-dev] Catalog Indexes.

Erik Enge erik@thingamy.net
Mon, 9 Apr 2001 16:26:18 +0200 (CEST)


[observe the speed of Chris replying... *astounded* :)]

On Mon, 9 Apr 2001, Chris Withers wrote:

> Erik Enge wrote:
> > 
> > I'm confused about what I can index in which Index.  Which index does not
> > remove numbers? 
> 
> FieldIndex, KeyIndex

Wow, KeyIndex?  Is this a new one?  Or did you mean 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.
 
> Likewise...

As above, passing the string to searchResults; "erik@thingamy.net" f ex.
 
> You probably want a FieldIndex but it might not be searchable in the
> way you want...

Which one would?