Module

x/drash/src/standard/handlers/AbstractSearchIndex.ts>AbstractSearchIndex

A microframework for building JavaScript HTTP applications. Runtime-agnostic. Strongly typed.
Latest
class AbstractSearchIndex
extends Handler
Abstract
import { AbstractSearchIndex } from "https://dotland.deno.dev/x/drash@v3.0.0-beta.2/src/standard/handlers/AbstractSearchIndex.ts";

Type Parameters

SearchResult

Methods

protected
abstract
buildIndex(items?: unknown): void

Build the index that can be searched via this.search(...).

protected
abstract
search(input: unknown): Promise<SearchResult>

Search the index.