Class Field.Term

  • Enclosing class:
    Field

    public static class Field.Term
    extends Object
    A term in a field
    • Constructor Detail

      • Term

        public Term​(String value)
        Creates a term with the given value and full exactness (1.0)
      • Term

        public Term​(String value,
                    float exactness)
    • Method Detail

      • value

        public String value()
        Returns the string value of this term
      • exactness

        public float exactness()
        Returns the degree to which this term is exactly what was in the document (1.0), or some stemmed form (closer to 0)