@resistdesign/voltra
    Preparing search index...

    Function buildExactDdbItem

    • Build a DynamoDB item for an exact postings entry.

      Parameters

      • token: string

        Token value stored in the exact index.

      • indexField: string

        Field name the token was indexed under.

      • docId: DocId

        Document id containing the token.

      • positions: number[]

        Token positions within the document.

      Returns ExactDdbItem

      Exact postings item for DynamoDB.