✨ feat: enhance search capabilities and indexing across collections
This commit is contained in:
@@ -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