msokolov opened a new pull request, #14680:
URL: https://github.com/apache/lucene/pull/14680

   Originally (before optimistic KNN query):
   
   ```
   recall  latency(ms)     nDoc  topK  fanout  maxConn  beamWidth  quantized  
visited  selectivity   filterType  vec_disk(MB)  vec_RAM(MB)  indexType
    0.693        7.374  1000000   100      50       16         50         no    
 3753  0.05   pre-filter         0.000        0.000       HNSW
    0.705        7.752  1000000   100     100       16         50         no    
 4680  0.05   pre-filter         0.000        0.000       HNSW
    0.764       13.086  1000000   100     250       16         50         no    
 6307  0.05   pre-filter         0.000        0.000       HNSW
   ```
   
   Mainline (filtering broken):
   
   ```
   recall  latency(ms)     nDoc  topK  fanout  maxConn  beamWidth  quantized  
index(s)  index_docs/s  num_segments  index_size(MB)  vec_disk(MB)  vec_RAM(MB) 
 indexType
    0.894       31.510  1000000   100      50       16         50         no    
  0.00      Infinity             0            0.00         0.000        0.000   
    HNSW
    1.000       46.757  1000000   100     100       16         50         no    
  0.00      Infinity             0            0.00         0.000        0.000   
    HNSW
    1.000       52.029  1000000   100     250       16         50         no    
  0.00      Infinity             0            0.00         0.000        0.000   
    HNSW
   ```
   
   With this fix:
   
   ```
   recall  latency(ms)     nDoc  topK  fanout  maxConn  beamWidth  quantized  
visited  selectivity   filterType  vec_disk(MB)  vec_RAM(MB)  indexType
    0.734        9.018  1000000   100      50       16         50         no    
 8951         0.05   pre-filter         0.000        0.000       HNSW
    0.742       10.259  1000000   100     100       16         50         no    
 9857         0.05   pre-filter         0.000        0.000       HNSW
    0.771       10.981  1000000   100     250       16         50         no    
12117         0.05   pre-filter         0.000        0.000       HNSW
   ```


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