public final class AllTermQuery
extends org.apache.lucene.search.Query
It is like PayloadTermQuery with AveragePayloadFunction, except unlike PayloadTermQuery, it doesn't plug into the similarity to determine how the payload should be factored in, it just parses the float and multiplies the average with the regular score.
| コンストラクタと説明 |
|---|
AllTermQuery(org.apache.lucene.index.Term term) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
org.apache.lucene.search.Weight |
createWeight(org.apache.lucene.search.IndexSearcher searcher,
boolean needsScores) |
org.apache.lucene.search.Query |
rewrite(org.apache.lucene.index.IndexReader reader) |
String |
toString(String field) |
public org.apache.lucene.search.Query rewrite(org.apache.lucene.index.IndexReader reader)
throws IOException
rewrite クラス内 org.apache.lucene.search.QueryIOExceptionpublic org.apache.lucene.search.Weight createWeight(org.apache.lucene.search.IndexSearcher searcher,
boolean needsScores)
throws IOException
createWeight クラス内 org.apache.lucene.search.QueryIOExceptionCopyright © 2009–2016. All rights reserved.