benwtrent commented on issue #13564: URL: https://github.com/apache/lucene/issues/13564#issuecomment-2476505715
> then it seems we can just call exactSearch over the results of approximateSearch, Exact search will hopefully just be using the quantized values as well. > However I don't know how to get the full-sized vectors without LeafContextReader. Do you have an idea how we can achieve that? I don't see why that would be a problem. How I would understand this is you would need to iterate the segments twice regardless. - Once to get the top k as desired with the oversampling - Apply the brute-force reranking (by passing the "exactSearch" path as that uses quantized values). However, the query shouldn't bother attempting to rerank results that are considered "accurate". So, the collector will likely need to be told "Hey, these are estimations", and then a second pass over the top docs there would be possible via something like `if(collector.scoresAreEstimates)` -- 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