org.apache.lucene.search.spans
public class SpanWeight extends Object implements Weight
| Field Summary | |
|---|---|
| protected float | idf |
| protected SpanQuery | query |
| protected float | queryNorm |
| protected float | queryWeight |
| protected Similarity | similarity |
| protected Set | terms |
| protected float | value |
| Constructor Summary | |
|---|---|
| SpanWeight(SpanQuery query, Searcher searcher) | |
| Method Summary | |
|---|---|
| Explanation | explain(IndexReader reader, int doc) |
| Query | getQuery() |
| float | getValue() |
| void | normalize(float queryNorm) |
| Scorer | scorer(IndexReader reader) |
| float | sumOfSquaredWeights() |