Hi Andy,
here's a short example in both Java and Python that do the same. The Python
example raises the error as mentioned by Daniel. I've also added a patch to
extend the current test cases to include tests for setAllowLeadingWildcard().
-Christoph
import org.apache.lucene.search.Query;
import
On Tue, 17 Aug 2010, Daniel Rech wrote:
I'd like to use the setAllowLeadingWildcard method with
PythonMultiFieldQueryParser but I always get a
lucene.JavaError: org.apache.lucene.queryParser.ParseException: Cannot
parse '*a': '*' or '?' not allowed as first character in WildcardQuery
It works