lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-2628) Extract OpenBitSet to Apache Commons
Date Mon, 30 Aug 2010 22:34:56 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-2628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12904386#action_12904386
] 

Robert Muir commented on LUCENE-2628:
-------------------------------------

bq. FWIW: I can ... the snag robert ran into in SOLR-2034. we don't want SolrJ to have a dependency
on lucene-core, but it would be nice to re-use the UTF-8 serialization code instead of duplicating
it

But maybe not, the stuff in unicodeutil isnt the best there anyway as its doing either:
* incremental conversion [and wasting cpu updating useless offsets]
* computing terms hash as it goes [and wasting cpu computing useless hash codes]


> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message