summaryrefslogtreecommitdiffstats
path: root/extra
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-28 21:52:14 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-28 21:52:14 -0800
commit8cf9471a39470ad5ba77491f511377273a489ec3 (patch)
tree33133345e546d486274349ec64b71ad077f5dc84 /extra
parent9459647ba23f71f7193c4886573214519c92c4ce (diff)
downloadfatcat-8cf9471a39470ad5ba77491f511377273a489ec3.tar.gz
fatcat-8cf9471a39470ad5ba77491f511377273a489ec3.zip
more ES index name updates
Diffstat (limited to 'extra')
-rw-r--r--extra/elasticsearch/README.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/extra/elasticsearch/README.md b/extra/elasticsearch/README.md
index 691c6ed5..3e438841 100644
--- a/extra/elasticsearch/README.md
+++ b/extra/elasticsearch/README.md
@@ -52,12 +52,13 @@ Put a single object (good for debugging):
Bulk insert from a file on disk:
- esbulk -verbose -id ident -index fatcat -type release examples.json
+ esbulk -verbose -id ident -index fatcat_release -type release examples.json
Or, in a bulk production live-stream conversion:
export LC_ALL=C.UTF-8
- time zcat /srv/fatcat_release/snapshots/fatcat_release_dump_expanded.json.gz | ./fatcat_export.py transform-releases - - | esbulk -verbose -size 20000 -id ident -w 8 -index fatcat -type release
+ time zcat /srv/fatcat/snapshots/release_export_expanded.json.gz | pv -l | ./fatcat_export.py transform-releases - - | esbulk -verbose -size 20000 -id ident -w 8 -index fatcat_release -type release
+ time zcat /srv/fatcat/snapshots/container_export.json.gz | pv -l | ./fatcat_export.py transform-container - - | esbulk -verbose -size 20000 -id ident -w 8 -index fatcat_container -type container
## Full-Text Querying