[Zope-dev] Partial searching

Michel Pelletier michel@digicool.com
Mon, 31 Jan 2000 16:09:59 -0500


Thanks to Itamar Shtull-Trauring and his friends at @Table, Zope now has
several new ZCatalog enhancements.

1) Partial Searching

ZCatalog now supports the ability to work with globbing searching on
text indexes.  This means that queries like "z*", "zop? AND *cool",
"digi* c?eations" are now possible.

2) Vocabulary objects

Vocabulary objects encapsulate all the langauge specific features of
ZCatalog into a seperate object.  For now, there is still primarily
english-centric support, but in the near future it will be very easy to
extend vocabulary objects to support specific (or generic) language
features.  Future improvements to vocabulary objects include stop-word
managment, stemming rules, and better control over word splitting.

3) Vocabulary-Catalog interoperation

Catalogs require Vocabulary objects now.  When you create a Catalog, the
Catalog looks 'up' (like ZSQLMethods) for a Vocabulary object to use.
If you do not specify a vocabulary object, the Catalog will create it's
own private one.

Using this model, you can have, for example, 'French' and 'English'
vocabulary objects that are used by different catalogs depending on what
language you want that catalog to work with.

This is now checked into the Zope CVS, I'd really like some people to
kick the tires on this one.  As usual, please submit bugs to the
Collector.

-Michel