new-front-common-library 0.0.39 → 0.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/new-front-common-library.umd.js +2 -2
- package/bundles/new-front-common-library.umd.js.map +1 -1
- package/esm2015/lib/util/services/elasticsearch/elasticsearch.service.js +3 -3
- package/fesm2015/new-front-common-library.js +2 -2
- package/fesm2015/new-front-common-library.js.map +1 -1
- package/package.json +1 -1
|
@@ -1137,10 +1137,10 @@
|
|
|
1137
1137
|
ElasticsearchService.prototype.getSearchResponse = function (text) {
|
|
1138
1138
|
return rxjs.from(this.getElasticsearchClient().msearch({
|
|
1139
1139
|
body: [
|
|
1140
|
-
{ index: 'unity-purchase-order*' },
|
|
1141
|
-
{ query: { dis_max: { queries: [{ wildcard: { poNumber: { value: '*' + text + '*' } } }, { wildcard: { ean: { value: '*' + text + '*' } } }, { wildcard: { basketNumber: { value: '*' + text + '*' } } }] } } },
|
|
1142
1140
|
{ index: 'unity-product*' },
|
|
1143
1141
|
{ query: { dis_max: { queries: [{ wildcard: { ean: { value: '*' + text + '*' } } }, { wildcard: { title: { value: '*' + text + '*' } } }] } } },
|
|
1142
|
+
{ index: 'unity-purchase-order*' },
|
|
1143
|
+
{ query: { dis_max: { queries: [{ wildcard: { poNumber: { value: '*' + text + '*' } } }, { wildcard: { ean: { value: '*' + text + '*' } } }, { wildcard: { basketNumber: { value: '*' + text + '*' } } }] } } },
|
|
1144
1144
|
{ index: 'unity-work*' },
|
|
1145
1145
|
{ query: { dis_max: { queries: [{ wildcard: { miloCode: { value: '*' + text + '*' } } }, { wildcard: { title: { value: '*' + text + '*' } } }, { wildcard: { titles: { value: '*' + text + '*' } } }] } } }
|
|
1146
1146
|
]
|