Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Index

Index

Methods

  • delete(): Promise<void>
  • queryStringSearch(queryString: string): Promise<SearchResult>
  • Executes a search with the using a query string to search over the data.

    Parameters

    • queryString: string

      The query string that will be used to search over the index.

    Returns Promise<SearchResult>

    A Promise resolving with the search results as a string

  • Executes a search with the search term over the data.

    Parameters

    • term: string

      The term that will be used to search over the index.

    Returns Promise<SearchResult>

    A Promise resolving with the search results as a string

  • Updates the data and configuration for the data

    Parameters

    • documents: search.Document[]

      The data that will be indexed and searchable

    • config: search.Config

      The configuration object defines how the index will preform certain searches

    Returns Promise<void>

Generated using TypeDoc