Make text index name more precise
authorBill Erickson <berickxx@gmail.com>
Wed, 11 Sep 2019 21:30:03 +0000 (17:30 -0400)
committerBill Erickson <berickxx@gmail.com>
Tue, 22 Oct 2019 13:18:21 +0000 (09:18 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/share/catalog/elastic.service.ts

index 3ef6208..7f62c83 100644 (file)
@@ -243,7 +243,7 @@ export class ElasticService {
 
         const matchOp = ts.matchOp[idx];
         const fieldClass = ts.fieldClass[idx];
-        const textIndex = `${fieldClass}|*text*`;
+        const textIndex = `${fieldClass}|*.text*`;
         let query;
 
         switch (matchOp) {