[ https://issues.apache.org/jira/browse/LUCENE-2628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12903973#action_12903973 ]
Simon Willnauer commented on LUCENE-2628: ----------------------------------------- {quote} Well ... if Cassandra already depends on Lucene then you're right. But I guess it doesn't make sense to introduce a dependency on a 1MB JAR for a class like OBS. It's practically the same argument as to why not extract OBS into commons ... but of course the folks at Cassandra are free to choose whichever way works for them. {quote} I agree with both Shai and Robert that the nature of Lucene's specialized utility classes are that they are still special purpose and the should not be changed just for the sake of making them usable by other projects because the like a class or two. I still wanna throw one possible solution in for discussion. Since Lucene has many very useful classes in its utils package we could consider package the utils package as its own jar decoupled somehow from the core. That way people could use those classes without pulling in the whole lucene core and the interface would remain unchanged. It still feels odd that core would depend on utils jar but it would be an option and it would fit into the modules concept. bq. So let's close that issue? +1 > Extract OpenBitSet to Apache Commons > ------------------------------------ > > Key: LUCENE-2628 > URL: https://issues.apache.org/jira/browse/LUCENE-2628 > Project: Lucene - Java > Issue Type: Wish > Reporter: Stu Hood > > o.a.l.util.OpenBitSet is a great alternative to java.util.BitSet, and it is > generally useful outside of the search field. It would be great if OpenBitSet > were available outside of Lucene proper, perhaps as part of Apache Commons. > Aside from the communication required to accomplish this, there is the small > issue of OpenBitSet extending o.a.l.search.DocIdSet in Lucene 3.0. There is > very little logic contained in DocIdSet, so it could probably become an > interface: Lucene proper could then extend the extract version of OpenBitSet > to implement DocIdSet. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org