[Zope] textindex: no numbers appears

Casey Duncan casey@zope.com
Tue, 09 Apr 2002 10:36:27 -0600


The default word splitter for text indexes in Zope 2.5 ignores "words" 
that are purely numeric.

Solutions are:

1. Use a different splitter (anybody got one?)
2. Try Andreas' TextIndexNG which I believe may index numbers out of the 
box.

hth,

Casey

Stephan Abele wrote:
> Hello zope-specialists,
> 
> i have the following problem:
> First, I have created an Zcatalog object.
> Then, I cataloged some objects.
> The title-Field is indexed with the type TextIndex.
> Sometimes, the title of the objects contains only numbers.
> 
> The problem:
> If the title contains only numbers, the index is empty.
> 
> title=123  => no value in the index
> title=123abc => the value is indexed.
> 
> 
> Question:
> What is wrong?
> What have I to do, to index titles which contains only numbers?
> Have I to patch some *.py-files?
> Have I to use a speciall package?
> 
> Because I am a zope-Newbie, every help will be welcomed,
> 
> Stephan Abele
> abele@wlb-stuttgart.de
> 
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
> 
>