@resistdesign/voltra
    Preparing search index...

    Type Alias LossyReader

    Reader interface for lossy postings lists.

    type LossyReader = {
        loadLossyPostings(token: string, indexField: string): Promise<DocId[]>;
    }
    Index

    Methods

    • Load lossy postings for a token.

      Parameters

      • token: string

        Token to load postings for.

      • indexField: string

        Field name the token was indexed under.

      Returns Promise<DocId[]>

      Array of document ids containing the token.