@ocap/indexdb-elasticsearch 1.18.38 → 1.18.39
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/lib/db.js +1 -1
- package/package.json +5 -5
package/lib/db.js
CHANGED
|
@@ -26,7 +26,7 @@ const { formatQueryResult, getAuthHeaders, getTimeCondition } = require('./util'
|
|
|
26
26
|
const FALLBACK_QUERY = { match_all: { boost: 1.0 } };
|
|
27
27
|
const REQUEST_TIMEOUT = 8000;
|
|
28
28
|
const MAX_REQUEST_FACTORY_ADDRESS_SIZE = 100;
|
|
29
|
-
const TRACK_TOTAL_HITS = +process.env.TRACK_TOTAL_HITS ||
|
|
29
|
+
const TRACK_TOTAL_HITS = +process.env.TRACK_TOTAL_HITS || 10000;
|
|
30
30
|
|
|
31
31
|
class ESIndexDB extends BaseIndexDB {
|
|
32
32
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ocap/indexdb-elasticsearch",
|
|
3
3
|
"description": "OCAP indexdb adapter that uses elasticsearch as backend",
|
|
4
|
-
"version": "1.18.
|
|
4
|
+
"version": "1.18.39",
|
|
5
5
|
"author": "wangshijun <shijun@arcblock.io> (https://www.arcblock.io)",
|
|
6
6
|
"bugs": {
|
|
7
7
|
"url": "https://github.com/ArcBlock/asset-chain/issues",
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
"test": "jest --forceExit --detectOpenHandles",
|
|
39
39
|
"coverage": "npm run test -- --coverage"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "95f7a60030ed923ac83fed697f208a9b8d555f59",
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@arcblock/did": "1.18.
|
|
43
|
+
"@arcblock/did": "1.18.39",
|
|
44
44
|
"@elastic/elasticsearch": "7.13.0",
|
|
45
|
-
"@ocap/indexdb": "1.18.
|
|
46
|
-
"@ocap/util": "1.18.
|
|
45
|
+
"@ocap/indexdb": "1.18.39",
|
|
46
|
+
"@ocap/util": "1.18.39",
|
|
47
47
|
"axios": "^0.25.0",
|
|
48
48
|
"bn.js": "^5.2.1",
|
|
49
49
|
"debug": "^4.3.4",
|