lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prasen <pra...@bea.com>
Subject Re: using lucene to search in a 1 huge file. (aka "grep -n")
Date Sat, 06 Mar 2004 06:17:26 GMT
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, and convert those to Lucene Documents, which you would
>then index.
>Searching would then return the line/block where matches are found.
>
>Otis
>
>
>--- prasen <prasen@bea.com> 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: lucene-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: lucene-user-help@jakarta.apache.org
>>
>>    
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: lucene-user-help@jakarta.apache.org
>
>
>  
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message