Text indexes and '+' '-'
Zopisters, Is there anyway to make the Text Indexing machinery eat a words that contain '+' and '-' Right now the index does not store those. The 'stop words' code in the Catalog does not contain these characters, so I am lost in what to tweak to get those words indexed. All my best, -- Jason Spisak 444@hiretechs.com
Jason Spisak wrote:
Zopisters,
Is there anyway to make the Text Indexing machinery eat a words that contain '+' and '-'
Not yet, unless you create your own Splitter object and subclass a new type of Lexicon (and thus create a new variant of Vocabulary in Zope 2.2... won't be easy then, definatly not easy now). Giving a managable interface to a splitter is being thought about, but not an easy problem.
Right now the index does not store those. The 'stop words' code in the Catalog does not contain these characters, so I am lost in what to tweak to get those words indexed.
The quick and dirty was is to edit Splitter.c and recompile. Deep voodoo. -Michel
participants (2)
-
Jason Spisak -
Michel Pelletier