We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c682a28 commit 4f99712Copy full SHA for 4f99712
examples/node/search_example.js
@@ -23,8 +23,8 @@ const addDataset = async () => {
23
const index = await client.getIndex('movies')
24
const resp = await index.search('Avengers', {
25
limit: 1,
26
- attributesToHighlight: 'title',
27
- })
+ attributesToHighlight: ['title'],
+ }, 'GET')
28
console.log({ resp })
29
console.log({ hit: resp.hits[0] })
30
})()
0 commit comments