Where can I find the patch to Splitter.c to support [#+.] etc? There are only the changes to GlobbingLexicon.py in that thread... I second the idea that this change to ZCatalog be considered for default behavior. In order to use ZCatalog for our online classifieds search system, we had to make similar changes to Splitter.c and GlobbingLexicon's get()... Though our changes to Splitter.c were only to support smaller words so I could search for things like 'C programmer,' I wouldn't mind having the ability to search for 'C++ programmer'. Just don't try searching for 'C*' in this setup (it's mighty slow, and you shouldn't search with wildcards and a single character). Numbers should be accommodated too: a search for a 2000 Mercedes C230 ( http://classifieds.signonsandiego.com/results?searchTextWeighted=2000+Merced es+C230 ) would find matches for Mercedes, but 2000 and C230 would be stop-words in the default behavior in Splitter.c; I had to modify the source to use isalnum() instead of isalpha() so that they would not be caught as stop-words... Sean -----Original Message----- From: Chris Withers [mailto:chrisw@nipltd.com] Sent: Tuesday, August 14, 2001 8:07 AM To: Andreas Jung Cc: Tres Seaver; zope-dev@zope.org Subject: Re: [Zope-dev] Re: Zope 2.4.1 Andreas Jung wrote:
Andreas Jung wrote:
to what fixes do you refer ?
Well, at least the ones to TextIndex.py and ZCatalog.py so that vocabularies can be acquired properly.
This should work now again.
Will is be in Zope 2.4.1? Not according to the placement of the Zope2.4.1-test tag in the CVS :-( Neither will the re-organisation of the Splitters to compile on Mac OS X...
Sadly, I see Michel's patch:
http://zope.nipltd.com/public/lists/dev-archive.nsf/ByKey/0735D7AFBA967897
...never made it into the CVS :-(
hm..I have never seen this patch before. If it is off major interest please put it in the collector.
http://classic.zope.org:8080/Collector/2514/view cheers, Chris _______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )