One easy way is to use the WildcardQuery class and search for "*def*".
-- Neal -----Original Message----- From: Sudhanya Chatterjee [mailto:[EMAIL PROTECTED] Sent: Thursday, January 24, 2008 5:00 AM To: [email protected] Subject: Query Lucene.net Hi, Using Lucene.net how can I create a query in such a way that it gives results similar to substring search. For example - Search Keyword : "def" Should give results : abcdef abcdefgh Thanks, Sudhanya DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
