lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From karl wettin <ka...@snigel.net>
Subject Re: search problem
Date Tue, 25 Apr 2006 17:01:42 GMT

25 apr 2006 kl. 17.54 skrev April06:

>
> We indexed several logfiles which contain for example a timestamp,  
> an ip and
> additional information (all defined as a field) all in one line.
> A logfile itself contains many of these lines.
>
> We used a BooleanQuery (timestamp / ip) to search for a ip between  
> a defined
> range of time.
>
> Problem: while there is a hit, only the timestamp and ip of the  
> very first
> line in the logfile are shown, but not the "matching" ip and  
> timestamp later
> in the logfile. Any suggestions how to get to the "right entries" ?

First inspect your index using Luke and see if it the expected data  
is there. If not, take a look at your index writing code. Else take a  
look at how you retrieve the data from your index. If you can't  
figure it out, post the code and tell us what the index contains and  
how you expected it to look like.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message