Class NRTSuggester.PayLoadProcessor

  • Enclosing class:
    NRTSuggester

    static final class NRTSuggester.PayLoadProcessor
    extends java.lang.Object
    Helper to encode/decode payload (surface + PAYLOAD_SEP + docID) output
    • Field Detail

      • MAX_DOC_ID_LEN_WITH_SEP

        private static final int MAX_DOC_ID_LEN_WITH_SEP
        See Also:
        Constant Field Values
    • Constructor Detail

      • PayLoadProcessor

        PayLoadProcessor()
    • Method Detail

      • make

        static BytesRef make​(BytesRef surface,
                             int docID,
                             int payloadSep)
                      throws java.io.IOException
        Throws:
        java.io.IOException