wuyunfeng edited a comment on issue #595: Load freqs lazily in Postings
URL: https://github.com/apache/lucene-solr/pull/595#issuecomment-509905214
 
 
   @atris Thanks. I noted that in Lucene's  source-tree code. 
   
    Impact `frequency ` and `norm ` just to accelerate the `score process`  
which  `terminate early`.
   
   In impact mode, `CompetitiveImpactAccumulator` will record (freq, norm) pair 
that as you say  stored at index level.
   
   Also I noted `CompetitiveImpactAccumulator` commented with `This class 
accumulates the (freq, norm) pairs that may produce competitive scores`,  maybe 
related to `WAND`?
   
   I think maybe i got it...
   
   The norm value which produced or consumed by `Lucene80NormsFormat`.
    In this ` Impact way`, we can avoid read norms from `Lucene80NormsProducer` 
that may generate the extra IO?  ( the norm value we stored twice.)

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to