move image build in separate dockerfiles
This commit is contained in:
@@ -43,12 +43,18 @@ Check out [official doc](https://docs.docker.com/compose/)
|
||||
|
||||
## Load wikidata into elasticsearch
|
||||
|
||||
Make sure ES import limit is above entities-search-engige import rate, by raising the limit
|
||||
|
||||
```
|
||||
docker-compose exec entities-search-engine curl -XPUT http://elasticsearch:9200/wikidata/_settings -d '{"index.mapping.total_fields.limit": 2000}'
|
||||
```
|
||||
|
||||
start the containers `docker-compose up`
|
||||
|
||||
```
|
||||
claim=P31:Q5
|
||||
type=humans
|
||||
docker-compose exec entities-search-engine ./bin/dump_wikidata_subset claim type
|
||||
docker-compose exec entities-search-engine ./bin/dump_wikidata_subset $claim $type
|
||||
```
|
||||
|
||||
for more [info](https://github.com/inventaire/entities-search-engine/blob/master/docs/wikidata_filtered_dump_import.md)
|
||||
|
||||
Reference in New Issue
Block a user