<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.3314.2100" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT size=2>Why are wildcards '?' and '*' not supported at the beginning 
of search terms in ZCTextIndex?</FONT><FONT size=2>&nbsp; It would be very 
useful to search for terms using '*someterm'.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>In the cvs for ZCTextIndex, Lexicon.py </FONT></DIV>
<DIV>(<A 
href="http://cvs.zope.org/Products/ZCTextIndex/Lexicon.py?annotate=1.17.10.2">http://cvs.zope.org/Products/ZCTextIndex/Lexicon.py?annotate=1.17.10.2</A>)</DIV>
<DIV>&nbsp;</DIV>
<DIV>the code raises an exception for wildcards at the beginning of search terms 
(see line 113) and a related comment says"</DIV>
<DIV>&nbsp;</DIV>
<DIV>111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
# The pattern starts with a globbing character.<BR><A 
name=112></A>112&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
# This is too efficient, so we raise an exception.<BR></DIV>
<DIV><FONT size=2>Why is this 'too efficient"?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>Jonathan</FONT></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>