[Zope-Checkins] CVS: Zope2 - README.txt:1.1.2.1

andreas@serenade.digicool.com andreas@serenade.digicool.com
Fri, 25 May 2001 10:56:25 -0400


Update of /cvs-repository/Zope2/lib/python/Products/PluginIndexes
In directory serenade:/tmp/cvs-serv31709

Added Files:
      Tag: ajung-dropin-registry
	README.txt 
Log Message:




--- Added File README.txt in package Zope2 ---
Zope 2.4 introduces a new way to register customized indexes
(see PluggableIndex interface). 


Changes to Indexes:

 New package structure

  -  The indexes (TextIndex, FieldIndex, KeywordIndex, PathIndex) shipped 
     with the Zope 2.4 distribution now live in 'lib/python/Products/PluginIndexes'. 
     Every index type has now its own package containing all dependent
     modules, DTML management files...

  - modules used by all index types reside in the 'common' directory

  - all dependencies from the 'lib/python/SearchIndex' directory were removed

  - 'lib/python/SearchIndex' is deprecated and should no longer be used.
    It is kept for backward compatibility. 



 Changes to all indexes:

  - every index type implements the PluggableIndex interface

  - common/util.py provides functionality for handling the 'request'
    parameter of the _apply_index() function.  _apply_index() 
    now handles old-style ZCatalog parameters, passing of Record
    instances and dictionary-like parameters. See common/util.py
    for details.


 Changes to KeywordIndex:

  - internal changes

 Changes to FieldIndex:

  - internal changes


 Changes to FieldIndex:

  - internal changes

 Changes to TextIndex:

  - ZMI allows to select a different vocabulary. To use a vocabulary different
    from the ZCatalogs default vocabulary 'Vocabulary' you must create a new
    Vocabulary through the ZMI of the ZCatalog. After creating the vocabulary you
    can choose the vocabulary on the ZMI management screen for the text index.

  - internal support for user-provided splitters

  - lots of internal rework


Changes to ZCatalog

  - Vocabulary.py moved to Products/PluginIndexes/TextIndex. A wrapper 
    for backward compatibility is in place

  - added ZCatalogIndexes.py to provide access to indexes with pluggable
    index interface


Backward compatibility:
  
  - any existing pre-2.4 ZCatalog should work under 2.4