float function ( Term arg0 , Searcher arg1 ) { return idf ( arg1 . docFreq ( arg0 ) , arg1 . maxDoc ( ) ) ; }
computes a score factor for a simple term . the default implementation is : return idf searcher.docfreq term , searcher.maxdoc ; note that searcher #maxdoc is used instead of indexreader #numdocs because it is proportional to searcher #docfreq term , i.e. , when one is inaccurate , so is the other , and in the same direction . concode_field_sep float[] NORM_TABLE concode_elem_sep Similarity defaultImpl concode_field_sep byte encodeNorm concode_elem_sep float tf concode_elem_sep float tf concode_elem_sep float coord concode_elem_sep float[] getNormDecoder concode_elem_sep float sloppyFreq concode_elem_sep Similarity getDefault concode_elem_sep float decodeNorm concode_elem_sep void setDefault concode_elem_sep float lengthNorm concode_elem_sep float queryNorm