Leading wildcards (*) are not allowed by the query parser.
See FAQ: 
http://wiki.apache.org/jakarta-lucene/LuceneFAQ#head-4d62118417eaef0dcb87f4370583f809848ea695

        Jo 

-----Ursprüngliche Nachricht-----
Von: Björn Ekengren [mailto:[EMAIL PROTECTED] 
Gesendet: Freitag, 30. Juni 2006 14:30
An: java-user@lucene.apache.org
Betreff: Lexical error when asterisk quantifier is first in query string

queryParser.ParseException: Lexical error at line 1, column 2.  Encountered:
after : ""
I get this when i enter a query with a asterisk (or questionmark) first in the 
query ( "*cene" ). 
Is this a bug or am I doing something wrong ?
/B


____________
Virus checked by G DATA AntiVirusKit
Version: AVK 16.8222 from 30.06.2006
Virus news: www.antiviruslab.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to