added search functions to database files, removed reds from nodebb moved it to redis

This commit is contained in:
Baris Soner Usakli
2013-12-05 20:06:36 -05:00
parent 6c70d37f1c
commit 53ca7a1143
9 changed files with 110 additions and 47 deletions

View File

@@ -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);
})
}
];