mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 14:05:46 +01:00
added search functions to database files, removed reds from nodebb moved it to redis
This commit is contained in:
@@ -407,9 +407,11 @@ var DebugRoute = function(app) {
|
||||
|
||||
var miscTests = [
|
||||
function(next) {
|
||||
db.sortedSetScore('users:joindate', 1, function(err, result) {
|
||||
//db.searchIndex('post', 'here is content tomato testing purple orange', 1);
|
||||
db.search('post', 'tomato', function(err, result) {
|
||||
next(err, result);
|
||||
})
|
||||
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user