timgrein commented on PR #13361:
URL: https://github.com/apache/lucene/pull/13361#issuecomment-2110381080

   @benwtrent 
   
   Without increasing `k` we'll get the following for the failing test instance:
   
   ```
   TOP 1 docs:
   Document<stored<id:23>> 9.601536E-5
   Document<stored<id:119>> 7.3713694E-5
   Document<stored<id:163>> 7.087675E-5
   Document<stored<id:148>> 7.051192E-5
   Document<stored<id:51>> 6.879472E-5
     
   TOP 2 docs:
   Document<stored<id:23>> 9.601536E-5
   Document<stored<id:193>> 8.53898E-5
   Document<stored<id:119>> 7.3713694E-5
   Document<stored<id:163>> 7.087675E-5
   Document<stored<id:148>> 7.051192E-5
   ```
   (So it seems like the first and unsorted index doesn't find document `193`, 
when `k` is too small (`60`); I guess due to the different index structure?)
   
   Increasing `k` to `80` leads to the following results for the previously 
failing test instance:
   
   ```
   TOP 1 docs:
   Document<stored<id:23>> 9.601536E-5
   Document<stored<id:193>> 8.53898E-5
   Document<stored<id:119>> 7.3713694E-5
   Document<stored<id:163>> 7.087675E-5
   Document<stored<id:148>> 7.051192E-5
   
   TOP 2 docs:
   Document<stored<id:23>> 9.601536E-5
   Document<stored<id:193>> 8.53898E-5
   Document<stored<id:119>> 7.3713694E-5
   Document<stored<id:163>> 7.087675E-5
   Document<stored<id:148>> 7.051192E-5
   ```


-- 
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