[Zope] ZCatalog and underscore

Michel Pelletier michel@digicool.com
Fri, 28 Jan 2000 10:23:32 -0500


> -----Original Message-----
> From: Hung Jung Lu [mailto:hungjunglu@hotmail.com]
> Sent: Thursday, January 27, 2000 3:20 PM
> To: zope@zope.org; support@digicool.com
> Subject: [Zope] ZCatalog and underscore
> 
> 
> The underscore character is considered a valid
> character for FieldIndex search in ZCatalog.
> 
> But underscore is considered a word separator
> in ZCatalog's TextIndex search.
> 
> This is bad.
>
> 
> The thing I am worried about is: if I dig in
> and change the relevant .c files and regenerate
> the .so shared library files, for the next
> release of Zope, I'll have to merge the changes.
> 
> So, would Digicool be kind enough to include
> the underscore ("_") as a valid character?

We are thinking about one of two solutions.

1) design a better Splitter interface.

2) document the Splitter interface so that you can create your own.

More news will be coming on this soon.

-Michel