Skip to content

Commit f457cd8

Browse files
committed
Include id as filterable attribute in getting_started file
1 parent 85f8e88 commit f457cd8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/env/node/getting_started.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ const { MeiliSearch } = require('../../../dist/bundles/meilisearch.umd.js')
2121
// If the index 'movies' does not exist, MeiliSearch creates it when you first add the documents.
2222
await index.updateFilterableAttributes([
2323
'director',
24-
'genres'
24+
'genres',
25+
'id'
2526
])
2627

2728
let response = await index.addDocuments(dataset)

0 commit comments

Comments
 (0)