public abstract class AbstractAuthorityQueryWeight
extends org.apache.lucene.search.Weight
Weight implementation for authority related queries.AbstractAuthoritySetQuery| Modifier and Type | Field and Description |
|---|---|
protected float |
idf |
protected org.apache.lucene.search.Explanation |
idfExp |
protected boolean |
needsScores |
protected org.apache.lucene.search.Query |
query |
protected float |
queryNorm |
protected float |
queryWeight |
protected org.apache.solr.search.SolrIndexSearcher |
searcher |
protected org.apache.lucene.search.similarities.TFIDFSimilarity |
similarity |
protected float |
value |
| Constructor and Description |
|---|
AbstractAuthorityQueryWeight(org.apache.solr.search.SolrIndexSearcher searcher,
boolean needsScores,
org.apache.lucene.search.Query query,
String authTermName,
String authTermText) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.search.Explanation |
explain(org.apache.lucene.index.LeafReaderContext context,
int doc) |
float |
getValueForNormalization() |
void |
normalize(float queryNorm,
float topLevelBoost) |
protected float |
sumOfSquaredWeights() |
protected org.apache.lucene.search.Query query
protected org.apache.solr.search.SolrIndexSearcher searcher
protected org.apache.lucene.search.similarities.TFIDFSimilarity similarity
protected float value
protected float idf
protected float queryNorm
protected float queryWeight
protected org.apache.lucene.search.Explanation idfExp
protected boolean needsScores
public AbstractAuthorityQueryWeight(org.apache.solr.search.SolrIndexSearcher searcher,
boolean needsScores,
org.apache.lucene.search.Query query,
String authTermName,
String authTermText)
throws IOException
IOExceptionpublic org.apache.lucene.search.Explanation explain(org.apache.lucene.index.LeafReaderContext context,
int doc)
throws IOException
explain in class org.apache.lucene.search.WeightIOExceptionpublic float getValueForNormalization()
throws IOException
getValueForNormalization in class org.apache.lucene.search.WeightIOExceptionpublic void normalize(float queryNorm,
float topLevelBoost)
normalize in class org.apache.lucene.search.Weightprotected float sumOfSquaredWeights()
throws IOException
IOExceptionCopyright © 2005–2019 Alfresco Software. All rights reserved.