API Documentation

class Vocabulary

A Vocabulary manages words and language rules for text indexing. Text indexing is done by the ZCatalog and other third party Products.


Product Constructor

manage_addVocabulary(id, title, globbing=None, REQUEST=None):

Add a Vocabulary object to an ObjectManager.


Methods

words():

Return list of words.

insert(word):

Insert a word in the Vocabulary.

query(pattern):

Query Vocabulary for words matching pattern.