lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Jockman" <>
Subject Re: LIFO or FIFO??
Date Mon, 08 Jul 2002 16:18:22 GMT

I think its more likely that the more recently indexed articles had a higher
'score' and thus were displayed first in results. Hits are ranked based on
an algorithm (see FAQ). You should printout the 'score' for each document
hit and see that the first results displayed actually had a higher score
than the older ones. I don't think FIFO/LIFO have anything to do with it...
Look at the scoring algorithm; then try searching for things that should
have a higher score in the older documents and see if they come up higher in
your results.

Hope that helps,


----- Original Message -----
From: "Samir Satam" <>
To: "Lucene Users List" <>
Sent: Monday, July 08, 2002 11:03 AM
Subject: LIFO or FIFO??

> Hello,
> I am new to Lucene, and during my development, I observed that...
> the articles indexed last were the articles that were returned first, in
the results. As if the index was a LIFO. Now this is perfectly acceptable as
long as we need to get the latest documents. (articles on WSJ published
today were indexed today, nad hence are more recent and more relevant). But
I also have to index the older articles.  So, I have 2 questions...
> 1. Is my observation correct?
> 2. I was wondering if anybody had similar problems, and how did they fix
> thanks
> Samir
> --
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message