jpountz commented on pull request #477:
URL: https://github.com/apache/lucene/pull/477#issuecomment-979286452


   I wonder if there's a corner case with documents that have a field value 
that produces no tokens. From what I remember such values produce a norm value 
of 0 (which was partially done to give NormsFiledsExistsQuery an intuitive 
behavior, since users would consider that a field exists if it has a value, 
regardless of whether it produces terms) while they wouldn't count as part of 
`Terms#getDocCount` which only includes documents that have at least one term. 


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to