Interface InputIterator

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static class  InputIterator.InputIteratorWrapper
      Wraps a BytesRefIterator as a suggester InputIterator, with all weights set to 1 and carries no payload
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static InputIterator EMPTY
      Singleton InputIterator that iterates over 0 BytesRefs.
    • Field Detail

      • EMPTY

        static final InputIterator EMPTY
        Singleton InputIterator that iterates over 0 BytesRefs.
    • Method Detail

      • weight

        long weight()
        A term's weight, higher numbers mean better suggestions.
      • hasPayloads

        boolean hasPayloads()
        Returns true if the iterator has payloads