Hi All,

I m new to Lucene,

Just wondering if there is a way to realize sql 'Like' function in Lucene as
following:

Select * from user_table where username like '%abc%'

I have checked with wildCardQuery, but it can not start with a '%'.
What about RegexQuery?  How to use it?

Thank you very much for any input,

-J
--
View this message in context: 
http://www.nabble.com/How-to-realize-Sql-LIKE--t1553855.html#a4221469
Sent from the Lucene - Java Users forum at Nabble.com.


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

Reply via email to