How can Catalog index all parts/words of a attribute
Hi, I try to use Catalog with a object stored in ZODB3. I need to match single words in attributes in what might be a long string with several words in it. I've tried to set "self.cat.addIndex('name' ,'TextIndex' )" which is supposed to be full text searching at least said to be in the Zope-pages when creating a catalog in Zope. But when I try to search for objects they only return stuff if I enter the entire content of the attribute in question, not parts of it. This is not a Zope-product yet, but a foundation for a future product. I'm working on a full-text searching command-line interface, so nothing of this can be done thru Zopes web-interface at this point. the code has been posted earlier, in "Now; - problems using ZODB/ZCatalog in Python". Any quick hints? Thomas
participants (1)
-
Thomas Weholt