lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Smiley (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (LUCENE-4881) Add a set iterator to SentinelIntSet
Date Tue, 02 Apr 2013 15:11:16 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-4881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

David Smiley resolved LUCENE-4881.
----------------------------------

    Resolution: Won't Fix

I committed better javadocs, including sample code to iterate the values.

Closing issue as won't fix (for now). If at some point we want an iterator, the patch is here
and it can be re-considered.
                
> Add a set iterator to SentinelIntSet
> ------------------------------------
>
>                 Key: LUCENE-4881
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4881
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: David Smiley
>            Assignee: David Smiley
>            Priority: Minor
>             Fix For: 4.3
>
>         Attachments: LUCENE-4881_SentinalIntSet_int_iterator.patch, SentinelIntSet_docs.patch
>
>
> I'm working on code that needs a hash based int Set.  It will need to iterate over the
values, but SentinalIntSet doesn't have this utility feature.  It should be pretty easy to
add.
> FYI this is an out-growth of a question I posed to the dev list, examining 3 different
int hash sets out there: SentinalIntSet, IntHashSet (in Lucene facet module) and the 3rd party
IntOpenHashSet (HPPC) -- see http://lucene.472066.n3.nabble.com/IntHashSet-SentinelIntSet-SortedIntDocSet-td4037516.html
 I decided to go for SentinalIntSet because it's already in Lucene-core, adding the method
I need should be easy, and it has a nice lean implementation.

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


Mime
View raw message