cc.twittertools.corpus.demo
Class IndexStatuses.ConstantNormSimilarity

java.lang.Object
  extended by org.apache.lucene.search.Similarity
      extended by org.apache.lucene.search.DefaultSimilarity
          extended by cc.twittertools.corpus.demo.IndexStatuses.ConstantNormSimilarity
All Implemented Interfaces:
Serializable
Enclosing class:
IndexStatuses

public static class IndexStatuses.ConstantNormSimilarity
extends org.apache.lucene.search.DefaultSimilarity

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.lucene.search.Similarity
NO_DOC_ID_PROVIDED
 
Constructor Summary
IndexStatuses.ConstantNormSimilarity()
           
 
Method Summary
 float computeNorm(String field, org.apache.lucene.index.FieldInvertState state)
           
 
Methods inherited from class org.apache.lucene.search.DefaultSimilarity
coord, getDiscountOverlaps, idf, queryNorm, setDiscountOverlaps, sloppyFreq, tf
 
Methods inherited from class org.apache.lucene.search.Similarity
decodeNorm, decodeNormValue, encodeNorm, encodeNormValue, getDefault, getNormDecoder, idfExplain, idfExplain, idfExplain, lengthNorm, scorePayload, setDefault, tf
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexStatuses.ConstantNormSimilarity

public IndexStatuses.ConstantNormSimilarity()
Method Detail

computeNorm

public float computeNorm(String field,
                         org.apache.lucene.index.FieldInvertState state)
Overrides:
computeNorm in class org.apache.lucene.search.DefaultSimilarity