[ https://issues.apache.org/jira/browse/LUCENE-5081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13704928#comment-13704928 ]
Robert Muir commented on LUCENE-5081: ------------------------------------- {quote} If we do this, I think the contract for equals and hashCode should be the same as java.util.List, ie. two DocIdSet are equal if their content is the same (no matter what the implementation is). {quote} I am not sure how these are used today. I was just asking in case there is something relying upon this. If they are just added as a "bonus" and not really needed by our codebase, then I am not sure we should worry... but its up to you. > Compress doc ID sets > -------------------- > > Key: LUCENE-5081 > URL: https://issues.apache.org/jira/browse/LUCENE-5081 > Project: Lucene - Core > Issue Type: Improvement > Reporter: Adrien Grand > Assignee: Adrien Grand > Priority: Minor > Attachments: LUCENE-5081.patch, LUCENE-5081.patch > > > Our filters use bit sets a lot to store document IDs. However, it is likely > that most of them are sparse hence easily compressible. Having efficient > compressed sets would allow for caching more data. -- 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