[Zope] Indexing: ZopeSplitter and numbers

Andreas Jung andreas@andreas-jung.com
Tue, 13 Nov 2001 17:37:49 -0500


I think this dedicated behaviour of the programmer (who ever wrote the
code).
I admit it is a limitation but I would not declare it as a bug. What we
really need
is more more open architecture of the ZCatalog for things like splitters,
stemmers etc.
I have some ideas in mind but they have not find their place in a proposal.

Andreas
----- Original Message -----
From: "Richard Jones" <richard@bizarsoftware.com.au>
To: "Casey Duncan" <c.duncan@nlada.org>; "Andreas Jung"
<andreas@andreas-jung.com>; <zope@zope.org>
Sent: Tuesday, November 13, 2001 16:38
Subject: Re: [Zope] Indexing: ZopeSplitter and numbers


> On Wednesday 14 November 2001 05:52, Casey Duncan wrote:
> > On Tuesday 13 November 2001 07:05 am, Andreas Jung allegedly wrote:
> > > The answer is - as always - in the sources ;-) The splitting algorithm
is
> > > pretty dumb. Roughly spoken it splits the text in words but not into
> > > numbers.
> > > To test the splitter try this:
> > >
> > > from ZopeSplitter import ZopeSplitter
> > > print list(ZopeSplitter('abc 123 t353 nmj'))
> > >
> > > gives ['abc', 't353', 'nmj']
> > >
> > >
> > > Andreas
> >
> > Has there been any thought in changing this behavior? I smell a fish
bowl
> > prop...
>
> Amen to the change, but does it really require a proposal? I get the
feeling
> this is leaning seriously towards "bug" territory.
>
>
>    Richard
>