Template
✨ feat: enhance search capabilities and indexing across collections
This commit is contained in:
8 files changed
+182
-12
No files matched your search
@@ -32,6 +32,18 @@ hooks:
|
||||
type: javascript
|
||||
file: hooks/filter_public.js
|
||||
|
||||
indexes:
|
||||
- name: content_active
|
||||
key:
|
||||
- contentId
|
||||
- active
|
||||
background: true
|
||||
|
||||
search:
|
||||
- name: default
|
||||
mode: regex
|
||||
fields: [author, message, contentId]
|
||||
|
||||
fields:
|
||||
- name: active
|
||||
type: boolean
|
||||
|
||||
Reference in new issue
Block a user