method Client.prototype.indeximport { Client } from "https://deno.land/x/deno_es@v0.4.3/mod.ts"; index(params: IndexParams, options?: ExOptions): Promise<IndexInfo>insert a document or replace it if it already exists Parametersparams: IndexParamsoptionaloptions: ExOptionsReturnsPromise<IndexInfo>