@Deprecated public final class ChildrenQuery extends IndexCacheableQuery
ParentChildIndexFieldData.
This query is executed in two rounds. The first round resolves all the matching child documents and groups these documents by parent uid value. Also the child scores are aggregated per parent uid value. During the second round all parent documents having the same uid value that is collected in the first phase are emitted as hit including a score based on the aggregated child scores and score type.
| 修飾子とタイプ | クラスと説明 |
|---|---|
protected static class |
ChildrenQuery.ParentCollector
非推奨です。
|
protected static class |
ChildrenQuery.ParentScoreCollector
非推奨です。
|
protected static class |
ChildrenQuery.ParentScoreCountCollector
非推奨です。
|
protected class |
ChildrenQuery.ParentWeight
非推奨です。
|
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected org.apache.lucene.search.Query |
childQuery
非推奨です。
|
protected String |
childType
非推奨です。
|
protected ParentChildIndexFieldData |
ifd
非推奨です。
|
protected int |
maxChildren
非推奨です。
|
protected int |
minChildren
非推奨です。
|
protected org.apache.lucene.search.join.BitSetProducer |
nonNestedDocsFilter
非推奨です。
|
protected org.apache.lucene.search.Filter |
parentFilter
非推奨です。
|
protected String |
parentType
非推奨です。
|
protected ScoreType |
scoreType
非推奨です。
|
protected int |
shortCircuitParentDocSet
非推奨です。
|
| コンストラクタと説明 |
|---|
ChildrenQuery(ParentChildIndexFieldData ifd,
String parentType,
String childType,
org.apache.lucene.search.Filter parentFilter,
org.apache.lucene.search.Query childQuery,
ScoreType scoreType,
int minChildren,
int maxChildren,
int shortCircuitParentDocSet,
org.apache.lucene.search.join.BitSetProducer nonNestedDocsFilter)
非推奨です。
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
org.apache.lucene.search.Weight |
doCreateWeight(org.apache.lucene.search.IndexSearcher searcher,
boolean needsScores)
非推奨です。
Create a
Weight for this query. |
boolean |
equals(Object obj)
非推奨です。
|
int |
hashCode()
非推奨です。
|
org.apache.lucene.search.Query |
rewrite(org.apache.lucene.index.IndexReader reader)
非推奨です。
|
String |
toString(String field)
非推奨です。
|
createWeightprotected final ParentChildIndexFieldData ifd
protected final String parentType
protected final String childType
protected final org.apache.lucene.search.Filter parentFilter
protected final ScoreType scoreType
protected org.apache.lucene.search.Query childQuery
protected final int minChildren
protected final int maxChildren
protected final int shortCircuitParentDocSet
protected final org.apache.lucene.search.join.BitSetProducer nonNestedDocsFilter
public ChildrenQuery(ParentChildIndexFieldData ifd, String parentType, String childType, org.apache.lucene.search.Filter parentFilter, org.apache.lucene.search.Query childQuery, ScoreType scoreType, int minChildren, int maxChildren, int shortCircuitParentDocSet, org.apache.lucene.search.join.BitSetProducer nonNestedDocsFilter)
public org.apache.lucene.search.Query rewrite(org.apache.lucene.index.IndexReader reader)
throws IOException
rewrite クラス内 IndexCacheableQueryIOExceptionpublic boolean equals(Object obj)
equals クラス内 IndexCacheableQuerypublic int hashCode()
hashCode クラス内 IndexCacheableQuerypublic String toString(String field)
toString クラス内 org.apache.lucene.search.Querypublic org.apache.lucene.search.Weight doCreateWeight(org.apache.lucene.search.IndexSearcher searcher,
boolean needsScores)
throws IOException
IndexCacheableQueryWeight for this query.doCreateWeight クラス内 IndexCacheableQueryIOExceptionQuery.createWeight(IndexSearcher, boolean)Copyright © 2009–2016. All rights reserved.