Class GetTermInfo


  • public class GetTermInfo
    extends Object
    Utility to get document frequency and total number of occurrences (sum of the tf for each doc) of a term.
    • Constructor Detail

      • GetTermInfo

        public GetTermInfo()
    • Method Detail

      • getTermInfo

        public static void getTermInfo​(org.apache.lucene.store.Directory dir,
                                       org.apache.lucene.index.Term term)
                                throws Exception
        Throws:
        Exception