![]() previous attempt was flawed (but maked by Reset() method) new approach is to do this work in the Reset() method itself, logically this is where it belongs. but further we acknowledge that IndexInternalID []byte lifetime lives beyond the TermFieldDoc, so another copy is made into the DocumentMatch. Although this introduces yet another copy the theory being tested is that it allows each of these structuress to reuse memory without additional allocation. |
||
---|---|---|
.. | ||
scorer_conjunction.go | ||
scorer_constant_test.go | ||
scorer_constant.go | ||
scorer_disjunction.go | ||
scorer_term_test.go | ||
scorer_term.go | ||
sqrt_cache.go |