projects
/
Evergreen.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixing NOT queries
[Evergreen.git]
/
Open-ILS
/
src
/
perlmods
/
OpenILS
/
Application
/
Storage
/
Driver
/
Pg
/
fts.pm
diff --git
a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver/Pg/fts.pm
b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver/Pg/fts.pm
index
43e0ea6
..
deaff9e
100644
(file)
--- a/
Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver/Pg/fts.pm
+++ b/
Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver/Pg/fts.pm
@@
-17,7
+17,7
@@
my $newterm = join('&', $self->words);
if (@{$self->nots}) {
- $newterm = '('.$newterm.')&('. join('|', $self->nots) . ')';
+ $newterm = '('.$newterm.')&
!
('. join('|', $self->nots) . ')';
}
$log->debug("Compiled term is [$newterm]", DEBUG);