Fix negation query
This commit is contained in:
parent
17370abf47
commit
ab1ef15d9d
|
@ -127,7 +127,7 @@ public class Utils {
|
|||
// if the value starts with the NOT operator, add a wildcard at the beginning
|
||||
// NOTE: this is a workaround for Solr, which does not support solely NOT queries
|
||||
if (value.startsWith("NOT")) {
|
||||
value = "*:* " + value;
|
||||
value = "* " + value;
|
||||
}
|
||||
|
||||
return value;
|
||||
|
|
Loading…
Reference in New Issue