mirror of https://github.com/apache/lucene.git
LUCENE-3097: Fixed documentation error. FixedBitSet is now used instead of OpenBitSet.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1150794 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7964cb97b1
commit
198ec93b4e
|
@ -174,7 +174,7 @@ fields, <code>FieldCache</code>, etc.).
|
|||
s.search(new TermQuery(new Term("content", searchTerm)), c);
|
||||
// Return all group heads as int array
|
||||
int[] groupHeadsArray = c.retrieveGroupHeads()
|
||||
// Return all group heads as OpenBitSet.
|
||||
// Return all group heads as FixedBitSet.
|
||||
int maxDoc = s.maxDoc();
|
||||
FixedBitSet groupHeadsBitSet = c.retrieveGroupHeads(maxDoc)
|
||||
</pre>
|
||||
|
|
Loading…
Reference in New Issue