lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sven Teichmann <s.teichm...@s4ip.de>
Subject Lucene Wildcard for zero or one character
Date Tue, 25 Mar 2014 13:56:41 GMT
Hello,

does Lucene provide a zero or one character wildcard (like ? in Perl RegEx)?

Example of what I mean:
"house%" finds "house" and "houses"

As far as I know in Lucene the ? wildcard is for exactly one character, 
but I need a zero or one character wildcard.

Best regards,

-- 
Sven Teichmann
______________________________________________________

Software for Intellectual Property GmbH
Gewerbering 14a
83607 Holzkirchen (Germany)
Phone:  +49 (0)8024 46699-00
Fax:    +49 (0)8024 46699-02
E-Mail: s.teichmann@s4ip.de

Local Court of Munich HRB 125803, UstId DE201282006
General Manager: Alexander Wagner
______________________________________________________


---------------------------------------------------------------------
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