dVenkatNaveen commented on issue #15000:
URL: https://github.com/apache/lucene/issues/15000#issuecomment-3138626263

   Thanks for the update @msokolov. I have another follow-up question.
   
   The following statement retrieves my top 20 (maxHits)search results based on 
score:
    
   ScoreDoc[] hits = collector.topDocs(startingRecord, maxHits).scoreDocs; 
   
   The above line gives different scores in different version because of that 
my top 20 records changes in 9.12.1 version compared to version 5.5.
   Please find the attached screenshot where its showing the my top 20 records 
with score for both the version of lucene.
    
   **In Lucene 9.12.1 score**
   <img width="940" height="575" alt="Image" 
src="https://github.com/user-attachments/assets/798aa52e-f40c-4550-9f8d-d65f4a7c6e9a";
 />
   
   **In Lucene 5.x score**
   
   <img width="940" height="533" alt="Image" 
src="https://github.com/user-attachments/assets/ffed932f-840e-4219-97bb-e0623a5d2a89";
 />
   
    
   PS: score is always same for a perticular version. For example in 5.5 for 
every run scores are same.
   
   Also is there a way i can get same score for both the version?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to