[Zope-dev] Wildcards in TextIndex query. Do they work?

Michel Pelletier michel@digicool.com
Thu, 24 May 2001 13:26:19 -0700 (PDT)


On Thu, 24 May 2001, Erik Enge wrote:

> This query works:
> 
> 	wil?car*
> 
> This doesn't:
> 
> 	(wil?car* or something else) and (word1 and word2)

If the first works, then you are using a globbing vocabulary.  The second
one should work, but maybe there is a bug.  Or perhaps your search
criteria is so strict that you are getting no results.

> I can't see that the query-parsers in UnTextIndex.py transforms them
> differently, but I might be missing something obvious.

There's _nothing_ obvious in that particular chunk of code.

-Michel