Class GetTermInfo


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

      Constructors 
      Constructor Description
      GetTermInfo()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void getTermInfo​(Directory dir, Term term)  
      static void main​(java.lang.String[] args)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GetTermInfo

        public GetTermInfo()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getTermInfo

        public static void getTermInfo​(Directory dir,
                                       Term term)
                                throws java.lang.Exception
        Throws:
        java.lang.Exception