[Zope-dev] Text indexes and '+' '-'
Michel Pelletier
michel@digicool.com
Wed, 23 Feb 2000 15:30:23 -0800
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