You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ko...@apache.org on 2011/07/11 14:08:08 UTC
svn commit: r1145134 -
/lucene/dev/branches/branch_3x/lucene/contrib/grouping/src/java/org/apache/lucene/search/grouping/package.html
Author: koji
Date: Mon Jul 11 12:08:07 2011
New Revision: 1145134
URL: http://svn.apache.org/viewvc?rev=1145134&view=rev
Log:
fix javadoc
Modified:
lucene/dev/branches/branch_3x/lucene/contrib/grouping/src/java/org/apache/lucene/search/grouping/package.html
Modified: lucene/dev/branches/branch_3x/lucene/contrib/grouping/src/java/org/apache/lucene/search/grouping/package.html
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/lucene/contrib/grouping/src/java/org/apache/lucene/search/grouping/package.html?rev=1145134&r1=1145133&r2=1145134&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/lucene/contrib/grouping/src/java/org/apache/lucene/search/grouping/package.html (original)
+++ lucene/dev/branches/branch_3x/lucene/contrib/grouping/src/java/org/apache/lucene/search/grouping/package.html Mon Jul 11 12:08:07 2011
@@ -61,12 +61,6 @@ field fall into a single group.</p>
collectors that for example group on multiple fields.
</p>
-<p>
- This module abstracts away what defines group and how it is collected. All grouping collectors
- are abstract and have currently term based implementations. One can implement
- collectors that for example group on multiple fields.
-</p>
-
<p>Known limitations:</p>
<ul>
<li> For the two-pass grouping collector, the group field must be a
@@ -90,7 +84,7 @@ field fall into a single group.</p>
CachingCollector cachedCollector = CachingCollector.create(c1, cacheScores, maxCacheRAMMB);
s.search(new TermQuery(new Term("content", searchTerm)), cachedCollector);
- Collection<SearchGroup<BytesRef>> topGroups = c1.getTopGroups(groupOffset, fillFields);
+ Collection<SearchGroup<BytesRef>> topGroups = c1.getTopGroups(groupOffset, fillFields);
if (topGroups == null) {
// No groups matched
@@ -117,9 +111,9 @@ field fall into a single group.</p>
s.search(new TermQuery(new Term("content", searchTerm)), c2);
}
- TopGroups<BytesRef> groupsResult = c2.getTopGroups(docOffset);
+ TopGroups<BytesRef> groupsResult = c2.getTopGroups(docOffset);
if (requiredTotalGroupCount) {
- groupResult = new TopGroups<BytesRef>(groupsResult, allGroupsCollector.getGroupCount());
+ groupsResult = new TopGroups<BytesRef>(groupsResult, allGroupsCollector.getGroupCount());
}
// Render groupsResult...