Closed gsi-alejandro closed 2 months ago
Syntax:
import { searchQuery, SearchQuery } from 'ottoman' async function ftsMatchWord(term) { return await searchQuery( 'index-hotel-description', SearchQuery.match(term), { limit: 5 } ) } const result = await ftsMatchWord('five-star');
Notes:
searchQuery
Steps:
Syntax:
Notes:
searchQuery
will run at the cluster level.Steps:
searchQuery
method in the Ottoman class.searchQuery
feature.