You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a query contains the same term multiple times, at the moment the code will look it up repeatedly and take the union of the doc ID set with itself. This could be inefficient if the set is large. We could take the nub of the query, but I assume that would influence scoring, so it might be better to give each repeated term a multiplicity and look it up/score it once but multiply the score?
The text was updated successfully, but these errors were encountered:
If a query contains the same term multiple times, at the moment the code will look it up repeatedly and take the union of the doc ID set with itself. This could be inefficient if the set is large. We could take the
nub
of the query, but I assume that would influence scoring, so it might be better to give each repeated term a multiplicity and look it up/score it once but multiply the score?The text was updated successfully, but these errors were encountered: