diff -uNr DocumentLibrary-1.0rc1-orig/CatalogPlus.py DocumentLibrary-1.0rc1/CatalogPlus.py --- DocumentLibrary-1.0rc1-orig/CatalogPlus.py 2002-01-18 04:38:36.000000000 +0000 +++ DocumentLibrary-1.0rc1/CatalogPlus.py 2003-06-12 10:03:13.000000000 +0100 @@ -152,6 +152,7 @@ self.uncatalogObject(uid) def getLexicon(self): + return None lexicon = self.lexicon if type(lexicon) == type(''): diff -uNr DocumentLibrary-1.0rc1-orig/DocumentStore.py DocumentLibrary-1.0rc1/DocumentStore.py --- DocumentLibrary-1.0rc1-orig/DocumentStore.py 2002-01-18 04:38:37.000000000 +0000 +++ DocumentLibrary-1.0rc1/DocumentStore.py 2003-06-12 10:03:03.000000000 +0100 @@ -146,7 +146,7 @@ for name, index_class in self._defaultCatalogIndexes: if index_class is TextIndex: - self.Catalog.addIndex(name, index_class(name, lexicon=lexicon)) + self.Catalog.addIndex(name, index_class(name)) else: self.Catalog.addIndex(name, index_class(name)) @@ -452,7 +452,7 @@ if index_class is TextIndex: self.Catalog.addIndex(name, - index_class(name, lexicon=self.Catalog.getLexicon())) + index_class(name)) else: self.Catalog.addIndex(name, index_class(name))