git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1388044 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2012-09-20 14:31:48 +00:00
parent e776376727
commit 95987a07f4
4 changed files with 11 additions and 3 deletions

View File

@ -250,7 +250,7 @@
<check-missing-javadocs dir="build/docs/facet" level="class"/>
<check-missing-javadocs dir="build/docs/grouping" level="class"/>
<check-missing-javadocs dir="build/docs/highlighter" level="class"/>
<check-missing-javadocs dir="build/docs/join" level="class"/>
<check-missing-javadocs dir="build/docs/join" level="method"/>
<check-missing-javadocs dir="build/docs/memory" level="class"/>
<check-missing-javadocs dir="build/docs/misc" level="class"/>
<!-- queries: problems -->

View File

@ -59,6 +59,14 @@ public class ToChildBlockJoinQuery extends Query {
private final Query origParentQuery;
private final boolean doScores;
/**
* Create a ToChildBlockJoinQuery.
*
* @param parentQuery Query that matches parent documents
* @param parentsFilter Filter (must produce FixedBitSet
* per-segment) identifying the parent documents.
* @param doScores true if parent scores should be calculated
*/
public ToChildBlockJoinQuery(Query parentQuery, Filter parentsFilter, boolean doScores) {
super();
this.origParentQuery = parentQuery;

View File

@ -99,7 +99,7 @@ public class ToParentBlockJoinCollector extends Collector {
private int totalHitCount;
private float maxScore = Float.NaN;
/* Creates a ToParentBlockJoinCollector. The provided sort must
/** Creates a ToParentBlockJoinCollector. The provided sort must
* not be null. If you pass true trackScores, all
* ToParentBlockQuery instances must not use
* ScoreMode.None. */

View File

@ -100,7 +100,7 @@ public class ToParentBlockJoinQuery extends Query {
*
* @param childQuery Query matching child documents.
* @param parentsFilter Filter (must produce FixedBitSet
* per-seegment) identifying the parent documents.
* per-segment) identifying the parent documents.
* @param scoreMode How to aggregate multiple child scores
* into a single parent score.
**/