In order for this to make sense, you would have to split your huge file into either lines or blocks, whichever you want to be your indexing and search/hit unit, and convert those to Lucene Documents, which you would then index. Searching would then return the line/block where matches are found.
Otis --- prasen <[EMAIL PROTECTED]> wrote: > Hi guys, > I am relatively new to Lucene. Can lucene be used to speed-up > search > for a string in one huge file( ~ TerraBytes ) based on its libe > numbers. Something like "grep -n <pattern> <filename>" where the > indexing will be done only on one file and based on either > line-numbers/blocks. > > prasen > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]