Class Field


  • public class Field
    extends Object
    Represents a document field which can be matched and ranked against.
    Author:
    bratseth
    • Constructor Detail

      • Field

        public Field​(String fieldString)
        Creates a field from a space-separated string
      • Field

        public Field​(List<Field.Term> terms)
        Creates a field from a list of terms
    • Method Detail

      • terms

        public List<Field.Term> terms()
        Returns an immutable list of the terms in this