Re: [Zope-dev] Catalog Indexes.
Erik Enge wrote: I'm confused about what I can index in which Index. Which index does not remove numbers? FieldIndex, KeyIndex Which of them do I use to index a telephone number How would you like to search that index? (containing characters). What about email addresses? Special characters? Likewise... You probably want a FieldIndex but it might not be searchable in the way you want... cheers, Chris ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Catalog Indexes.
[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; "[EMAIL PROTECTED]" f ex. You probably want a FieldIndex but it might not be searchable in the way you want... Which one would? ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Catalog Indexes.
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 ;-) Theres a cool hack to Splitter.c by Jason Spisak that doesnt remove numbers and punctuation from the Catalog. I make no promises since I haven't tried it. That should enable you to make it a text field and then do globbing... -- Andy McKay ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Catalog Indexes.
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; "[EMAIL PROTECTED]" 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 ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )