From: Helge T. <te...@us...> - 2004-09-28 16:48:35
|
Update of /cvsroot/collective/ExtendedPathIndex/help In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19867/help Added Files: ExtendedPathIndex_searchResults.stx Log Message: Initial checkin of ExtendedPathIndex. It is based on the existing PathIndex, and allows you to pass in the additional arguments 'depth' which is an integer and 'navtree' which is a boolean. When building a navtree, the path is assumed to be the current node. --- NEW FILE: ExtendedPathIndex_searchResults.stx --- ZCatalog - searchResults: specifying parameters for a search query The searchResults() method of the ZCatalog accepts parameters that define a query to be made on that catalog. A query can either be passed as keyword argument to searchResults(), as a mapping, or as part of a Zope REQUEST object, typically from HTML forms. The index of the catalog to query is either the name of the keyword argument, a key in a mapping, or an attribute of a record object. Attributes of record objects 'query' -- either a sequence of objects or a single value to be passed as query to the index (mandatory) 'operator' -- specifies the combination of search results when query is a sequence of values. (optional, default: 'or'). Allowed values: 'and', 'or' 'level' -- only applies to Path Index. Specifies the directory level to start searching. (optional, default: 0) |