Thank you Brandon, That surely is what seems to be happening... Does anybody know the algorithm lucene uses to calculate hit score?
thanks again, samir -----Original Message----- From: Brandon Jockman [mailto:[EMAIL PROTECTED]] Sent: Monday, July 08, 2002 12:18 PM To: Lucene Users List Subject: Re: LIFO or FIFO?? Samir, 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, -Brandon - [EMAIL PROTECTED] ----- Original Message ----- From: "Samir Satam" <[EMAIL PROTECTED]> To: "Lucene Users List" <[EMAIL PROTECTED]> 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 it? > > > thanks > Samir > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
