lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johannes Christen" <j.chris...@insiders.de>
Subject AW: Lexical error when asterisk quantifier is first in query string
Date Fri, 30 Jun 2006 12:33:04 GMT
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:bjorn.ekengren@avanza.se] 
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: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message