mirror of
https://github.com/apache/lucene.git
synced 2025-03-03 14:59:16 +00:00
LUCENE-3280: add changes, remove dead code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1145255 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a17df303e9
commit
03984ec124
@ -519,6 +519,10 @@ New Features
|
||||
* LUCENE-3290: Added FieldInvertState.numUniqueTerms
|
||||
(Mike McCandless, Robert Muir)
|
||||
|
||||
* LUCENE-3280: Add FixedBitSet, like OpenBitSet but is not elastic
|
||||
(grow on demand if you set/get/clear too-large indices). (Mike
|
||||
McCandless)
|
||||
|
||||
Optimizations
|
||||
|
||||
* LUCENE-3201, LUCENE-3218: CompoundFileSystem code has been consolidated
|
||||
|
@ -33,6 +33,8 @@ import org.apache.lucene.search.DocIdSetIterator;
|
||||
* extends {@link DocIdSet}). Therefore its {@link #iterator()} assumes {@link
|
||||
* DocIdSetIterator#NO_MORE_DOCS} can be used as sentinel. If you intent to use
|
||||
* this value, then make sure it's not used during search flow.
|
||||
*
|
||||
* @lucene.internal
|
||||
*/
|
||||
public class SortedVIntList extends DocIdSet {
|
||||
/** When a BitSet has fewer than 1 in BITS2VINTLIST_SIZE bits set,
|
||||
@ -81,22 +83,6 @@ public class SortedVIntList extends DocIdSet {
|
||||
builder.done();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a SortedVIntList from an OpenBitSet.
|
||||
* @param bits A bit set representing a set of integers.
|
||||
*/
|
||||
/*
|
||||
public SortedVIntList(OpenBitSet bits) {
|
||||
SortedVIntListBuilder builder = new SortedVIntListBuilder();
|
||||
int nextInt = bits.nextSetBit(0);
|
||||
while (nextInt != -1) {
|
||||
builder.addInt(nextInt);
|
||||
nextInt = bits.nextSetBit(nextInt + 1);
|
||||
}
|
||||
builder.done();
|
||||
}
|
||||
*/
|
||||
|
||||
/**
|
||||
* Create a SortedVIntList.
|
||||
* @param docIdSetIterator An iterator providing document numbers as a set of integers.
|
||||
|
Loading…
x
Reference in New Issue
Block a user