scrollgenerator
Advanced tools
Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "scrollgenerator", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "is lite and quick set up package to scroll over elastic search index built using built in node js generator", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -19,3 +19,3 @@ # Scroll Generator | ||
client: client, | ||
index: 'new_artists_matches', | ||
index: 'my_index', | ||
query: { | ||
@@ -33,3 +33,3 @@ "match_all": {} | ||
await scrollOverIndex(options, scrollRun) | ||
console.log('scroll done : ', data.length) | ||
console.log('scrolling over index done :)') | ||
} | ||
@@ -44,3 +44,3 @@ | ||
for (let item of result.hits.hits) { | ||
console.log(`data length : ${data.length} || ${result.hits.total.value}`) | ||
console.log(`data length :|| ${result.hits.total.value}`) | ||
console.log(item); | ||
@@ -47,0 +47,0 @@ } |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4941