Importing and updating data in Elasticsearch

前端 未结 3 602
暗喜
暗喜 2020-12-14 09:07

We have an existing search function that involves data across multiple tables in SQL Server. This causes a heavy load on our DB, so I\'m trying to find a better way to searc

3条回答
  •  情歌与酒
    2020-12-14 09:45

    declaimer - I'm the author of ESL
    You can use elasticsearch_loader to load psv files into elasticsearch.
    In order to set the _id field you can use --id-field=property_id. for instance:
    elasticsearch_loader --index=myindex --type=mytype --id-field=property_id csv --delimiter='|' filename.csv

提交回复
热议问题