mirror of https://github.com/apache/lucene.git
fix javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1124298 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
af9930c6cb
commit
92b00742ee
|
@ -28,6 +28,7 @@ import org.apache.lucene.index.IndexFileNames;
|
|||
import org.apache.lucene.index.IndexWriter; // javadocs
|
||||
import org.apache.lucene.index.MergePolicy;
|
||||
import org.apache.lucene.index.MergeScheduler;
|
||||
import org.apache.lucene.store.RAMDirectory; // javadocs
|
||||
import org.apache.lucene.util.IOUtils;
|
||||
|
||||
// TODO
|
||||
|
|
|
@ -42,7 +42,7 @@ import org.apache.lucene.util.RamUsageEstimator;
|
|||
* <p><b>NOTE</b>: this class caches at least 128 documents
|
||||
* before checking RAM limits.
|
||||
*
|
||||
* <p>See {@link org.apache.lucene.search.grouping} for more
|
||||
* <p>See the Lucene <tt>modules/grouping</tt> module for more
|
||||
* details including a full code example.</p>
|
||||
*
|
||||
* @lucene.experimental
|
||||
|
|
|
@ -35,9 +35,9 @@ import java.util.List;
|
|||
* the most relevant document of a group.
|
||||
*
|
||||
* <p/>
|
||||
* Internally, {@link SentinelIntSet} is used to detect
|
||||
* if a group is already added to the total count. For each
|
||||
* segment the {@link SentinelIntSet} is cleared and filled
|
||||
* Implementation detail: an int hash set (SentinelIntSet)
|
||||
* is used to detect if a group is already added to the
|
||||
* total count. For each segment the int set is cleared and filled
|
||||
* with previous counted groups that occur in the new
|
||||
* segment.
|
||||
*
|
||||
|
@ -58,9 +58,11 @@ public class AllGroupsCollector extends Collector {
|
|||
* Expert: Constructs a {@link AllGroupsCollector}
|
||||
*
|
||||
* @param groupField The field to group by
|
||||
* @param initialSize The initial size of the {@link SentinelIntSet} and groups list. The initial size should
|
||||
* roughly match the total number of expected unique groups. Be aware that the heap usage
|
||||
* is 4 bytes * initialSize.
|
||||
* @param initialSize The initial allocation size of the
|
||||
* internal int set and group list
|
||||
* which should roughly match the total
|
||||
* number of expected unique groups. Be aware that the
|
||||
* heap usage is 4 bytes * initialSize.
|
||||
*/
|
||||
public AllGroupsCollector(String groupField, int initialSize) {
|
||||
this.groupField = groupField;
|
||||
|
@ -69,8 +71,9 @@ public class AllGroupsCollector extends Collector {
|
|||
}
|
||||
|
||||
/**
|
||||
* Constructs a {@link AllGroupsCollector}. This sets the initialSize for the {@link SentinelIntSet} and group list
|
||||
* to 128 in the {@link #AllGroupsCollector(String, int)} constructor.
|
||||
* Constructs a {@link AllGroupsCollector}. This sets the
|
||||
* initial allocation size for the internal int set and group
|
||||
* list to 128.
|
||||
*
|
||||
* @param groupField The field to group by
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue