lucy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Karman <pe...@peknet.com>
Subject Re: [lucy-user] Re: How to make Lucy return multiple matches on same index (file)
Date Wed, 27 Aug 2014 16:37:59 GMT
Shahab wrote on 8/27/14 11:29 AM:

> Thanks for your reply. I am looking for indexing big files > 2 GB and 
> grep is not to be used as per the use case. Lucy looked liked a good 
> option to me other than creating my own index file, indexing on line 
> number and some fixed keywords..
> 

Yes, you could use Lucy. Create a virtual "document" for each line in the file,
and fields for the line number and line content. If the line contains "fields"
like a logfile might, you can create a separate field for each segment of the
line. I do that same kind of thing for server log files.


-- 
Peter Karman  .  http://peknet.com/  .  peter@peknet.com

Mime
View raw message