using lucene to search in a 1 huge file. (aka grep -n)

2004-03-05 Thread prasen
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

Re: using lucene to search in a 1 huge file. (aka grep -n)

2004-03-05 Thread prasen
Any tutorial/samples on how to use indices, and use them in your search ? thanks-n-appreciate a lot, prasen Otis Gospodnetic wrote: 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