query = parser.parse( "*hi" )
JavaError: org.apache.lucene.queryParser.ParseException:
Lexical error at line 1, column 1.  Encountered: "*" (42), after : ""

You can use a wildcard search rather than a queryparser, and that will accept wildcards anywhere. I use it for searching for email addresses by domain.

_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to