Products :: ZenUtils :: MultiPathIndex :: MultiPathIndex :: Class MultiPathIndex
[hide private]
[frames] | no frames]

Class MultiPathIndex

source code

PluginIndexes.PathIndex.PathIndex.PathIndex --+    
                                              |    
            ExtendedPathIndex.ExtendedPathIndex --+
                                                  |
                                                 MultiPathIndex

A path index that is capable of indexing multiple paths per object.

Instance Methods [hide private]
 
search(self, path, default_level=0, depth=-1, navtree=0, navtree_start=0)
path is either a string representing a relative URL or a part of a relative URL or a tuple (path,level).
source code
 
getIndexSourceNames(self)
return names of indexed attributes
source code
 
index_object(self, docid, obj, threshold=100)
hook for (Z)Catalog
source code
 
index_paths(self, docid, paths) source code
 
unindex_paths(self, docid, paths) source code
 
unindex_object(self, docid)
hook for (Z)Catalog
source code

Inherited from ExtendedPathIndex.ExtendedPathIndex: __init__, clear, insertEntry

Class Variables [hide private]
  meta_type = "MultiPathIndex"
  manage_main = DTMLFile('dtml/manageMultiPathIndex', globals())
  manage = DTMLFile('dtml/manageMultiPathIndex', globals())

Inherited from ExtendedPathIndex.ExtendedPathIndex: index_html, manage_options, manage_workspace, query_options

Method Details [hide private]

search(self, path, default_level=0, depth=-1, navtree=0, navtree_start=0)

source code 

path is either a string representing a relative URL or a part of a relative URL or a tuple (path,level).

level >= 0 starts searching at the given level level < 0 not implemented yet

Overrides: ExtendedPathIndex.ExtendedPathIndex.search

getIndexSourceNames(self)

source code 

return names of indexed attributes

Overrides: ExtendedPathIndex.ExtendedPathIndex.getIndexSourceNames

index_object(self, docid, obj, threshold=100)

source code 

hook for (Z)Catalog

Overrides: ExtendedPathIndex.ExtendedPathIndex.index_object

unindex_object(self, docid)

source code 

hook for (Z)Catalog

Overrides: ExtendedPathIndex.ExtendedPathIndex.unindex_object