No, you have to build that in yourself.... It can be a bit tricky defining how you indicate that lines are in a file, but this has been discussed extensively so searching the mail archive should get you some pointers.
Best Erick On Mon, Oct 27, 2008 at 2:45 AM, Agrawal, Aashish (IT) < [EMAIL PROTECTED]> wrote: > Is there any API in lucene which gives you matched lines or offiset in a > file to first instance of matched pattern? > > thanks, > Aashish Agrawal > -------------------------------------------------------- > > NOTICE: If received in error, please destroy and notify sender. Sender does > not intend to waive confidentiality or privilege. Use of this email is > prohibited when received in error. >