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>
Fri, 21 Feb 2020 21:20:32 +0000 (16:20 -0500)
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) {