redisearch
Advanced tools
Comparing version 0.0.9 to 0.0.10
@@ -64,5 +64,8 @@ 'use strict'; | ||
tmpKeys.push(tmpKeyName); | ||
var command = commands.and; | ||
if (index === 'content' && data.matchWords === 'any') { | ||
command = commands.or; | ||
var command = commands.or; | ||
if (index === 'content') { | ||
command = commands.and; | ||
if (data.matchWords === 'any') { | ||
commmand = commands.or; | ||
} | ||
} | ||
@@ -69,0 +72,0 @@ cmds.push([command, tmpKeyName, keys.length].concat(keys)); |
@@ -5,3 +5,3 @@ { | ||
"description": "A plugin to search data with redis", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "type": "git", |
19722
8
368