Re: multiple questions about lucene

2007-06-13 Thread Rafael Rossini
Hi Tanya, I think one option is to index each log file with 2 fields, the name of the log file and a line of your log. This way you can do a query like this: +log_file_name:"log1" +line:"word1" -(+line:"word1" +line"word2") Hope it helps, Rossini On 6/13/07, Tanya Levshina <[EMAIL PROT

multiple questions about lucene

2007-06-13 Thread Tanya Levshina
Hi, 1. I am dealing with the logs files and have to index the whole file (the attempt to increase setMaxFielldLength eventually causes out of memory error). I am sure that I am not a first person that encounters this problem. What is the most efficient way to handle this situation? 2. I am index