[ https://issues.apache.org/jira/browse/LUCENE-5183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13752369#comment-13752369 ]
Adrien Grand commented on LUCENE-5183: -------------------------------------- Patch looks good to me too. Can we just replace the occurrences of {{docsWithField.get(doc) == false}} with {{!docsWithField.get(doc)}}? > BinaryDocValues inconsistencies > ------------------------------- > > Key: LUCENE-5183 > URL: https://issues.apache.org/jira/browse/LUCENE-5183 > Project: Lucene - Core > Issue Type: Bug > Reporter: Robert Muir > Attachments: LUCENE-5183.patch > > > Some current inconsistencies: > * Binary/SortedDocValues.EMPTY_BYTES should be removed (BytesRef.EMPTY_BYTES > should be used in its place): FieldCache.getDocsWithField should be used to > determine missing. Thats fine if FC wants to "back" its Bits by some special > placeholder value, but thats its impl detail not part of the API. > * Sorting comparator of Binary should either be removed (is this REALLY > useful?) or should support missingValue(): and it should support this for > SortedDocValues in any case: solr does it, but lucene wont allow it accept > for numerics?! -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org