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:
Martijn van Groningen 2011-07-25 17:22:46 +00:00
parent 7964cb97b1
commit 198ec93b4e
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ fields, <code>FieldCache</code>, etc.).
s.search(new TermQuery(new Term("content", searchTerm)), c); s.search(new TermQuery(new Term("content", searchTerm)), c);
// Return all group heads as int array // Return all group heads as int array
int[] groupHeadsArray = c.retrieveGroupHeads() int[] groupHeadsArray = c.retrieveGroupHeads()
// Return all group heads as OpenBitSet. // Return all group heads as FixedBitSet.
int maxDoc = s.maxDoc(); int maxDoc = s.maxDoc();
FixedBitSet groupHeadsBitSet = c.retrieveGroupHeads(maxDoc) FixedBitSet groupHeadsBitSet = c.retrieveGroupHeads(maxDoc)
</pre> </pre>