Skip to content
Snippets Groups Projects
Commit 28f1c630 authored by William Bell's avatar William Bell
Browse files

Correcting the index name.

parent 61fb295a
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@ from elasticsearch import Elasticsearch
elasticsearch = Elasticsearch([{'host': 'localhost', 'port': 9200}])
response = elasticsearch.index(
index="library",
index="publications",
doc_type="_doc",
body={
"authors": ["J. Doe"],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment