Save This Page
Home » lucene-3.0.1-src » org.apache » lucene » search » payloads » [javadoc | source]
public class: BoostingTermQuery [javadoc | source]

All Implemented Interfaces:
    Cloneable, Serializable

The BoostingTermQuery is very similar to the except that it factors in the value of the payload located at each of the positions where the org.apache.lucene.index.Term occurs.

In order to take advantage of this, you must override, byte[],int,int) which returns 1 by default.

Payload scores are averaged across term occurrences in the document.

Nested Class Summary:
protected class  BoostingTermQuery.BoostingTermWeight   
Fields inherited from
 public BoostingTermQuery(Term term) 
Method from Summary:
createWeight,   equals
Methods from
equals,   extractTerms,   getField,   getSpans,   getTerm,   hashCode,   toString
Methods from
createWeight,   getField,   getSpans
Methods from
clone,   combine,   createWeight,   equals,   extractTerms,   getBoost,   getSimilarity,   hashCode,   mergeBooleanQueries,   rewrite,   setBoost,   toString,   toString,   weight
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from Detail:
 protected Weight createWeight(Searcher searcher) throws IOException 
 public boolean equals(Object o)