Exemplo n.º 1
0
            public PhraseWeight(PhraseQuery enclosingInstance, Searcher searcher, IState state)
            {
                InitBlock(enclosingInstance);
                this.similarity = Enclosing_Instance.GetSimilarity(searcher);

                idfExp = similarity.IdfExplain(Enclosing_Instance.terms, searcher, state);
                idf    = idfExp.Idf;
            }