Description
While we have added bulk scoring, which can provide a substantial performance boost, we still don't use it everywhere. I happened to notice its missing from filter search & higher level searches (fixed for 10.4), but there are some others.
Looking at the code, there are various places where I still see RandomVectorScorer.score that might benefit from the bulk scorer API.
Now, there are also places that use VectorScorer.score() that could benefit from bulk scoring
Places that use VectorUtil directly, that might be harder to refactor but could benefit from bulk scoring:
Description
While we have added bulk scoring, which can provide a substantial performance boost, we still don't use it everywhere. I happened to notice its missing from filter search & higher level searches (fixed for 10.4), but there are some others.
Looking at the code, there are various places where I still see
RandomVectorScorer.scorethat might benefit from the bulk scorer API.Now, there are also places that use
VectorScorer.score()that could benefit from bulk scoringVectorSimilarityValuesSourcePlaces that use
VectorUtildirectly, that might be harder to refactor but could benefit from bulk scoring: