mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-31 19:15:58 +01:00
part 1 of search change
This commit is contained in:
@@ -112,6 +112,8 @@
|
||||
|
||||
createIndex('search', {content:'text'}, {background:true});
|
||||
createIndex('search', {key: 1, id: 1}, {background:true});
|
||||
createIndex('search', {cid: 1}, {background:true});
|
||||
createIndex('search', {uid: 1}, {background:true});
|
||||
|
||||
if (typeof callback === 'function') {
|
||||
callback();
|
||||
|
||||
Reference in New Issue
Block a user