You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2021/11/25 15:04:47 UTC

[GitHub] [lucene] jpountz commented on pull request #477: LUCENE-10263: Implement Weight.count() on NormsFieldExistsQuery

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: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org