Open steppo83 opened 1 year ago
I found a way to import using Docker Compose and Docker: Docker Compose:
biblioindex: build: context: D:\grobid-biblio-glutton\biblio-glutton\indexing dockerfile: DockerfileIndex restart: always volumes:
Docker file:
FROM node:14
RUN mkdir /app
WORKDIR /app
COPY package.json /app
COPY . /app
RUN npm install
CMD node main.js -dump /app/data/crossref-works.2019-09-09.json.xz index
Is loading :)
Hello, I'm trying to import crossref-works.2019-09-09.json.xz file inside elasticsearch using the command: node main -dump ../data/crossref-works.2019-09-09.json.xz index
I have an elasticsearch up and running with Docker (ES version 7.11.1) that is working if I go to http://localhost:9200![image](https://user-images.githubusercontent.com/19529745/193073297-6a16ad63-d60b-42a4-b0fa-03aeb77aee42.png)
in my glutton.yml there is written![image](https://user-images.githubusercontent.com/19529745/193071287-ebfc13d7-cbe2-4060-90e8-69fdb7cb602c.png)
the index is created
but after 1 minute the procedure stops saying
I don't understand why the procedure can create the index but cannot import the data inside ES and, even stranger, why it says connect ETIMEDOUT 172.18.0.3:9200 instead of using localhost:9200 ?
I'm using a virtual machine with Windows 10 Pro 64 bit.