Elasticsearch Tutorial For Beginners – create index add documents and searching

   Loading bulk data file(s) into Elasticsearch

root@pve-02-ubuntu-2:~#elasticsearch_loader –delete –index licenses –type license json rwa_get_licenses.json
root@pve-02-ubuntu-2:~# curl -X GET „localhost:9200/_cat/indices?v&pretty“
health status index uuid pri rep docs.count docs.deleted store.size pri.store.size
yellow open cars aTuTjjeKS4ef3nCr_rpdCA 1 1 1 0 4.7kb 4.7kb
yellow open licenses g-0AdtuBRRe7hnNCz54C5w 1 1 8758 0 1.1mb 1.1mb
yellow open schools Rvp8ytkYT5G9p04MT8RD3Q 1 1 3 0 10.1kb 10.1kb
yellow open shakespeare rV1bXB_8RGeIdd-zKSX0SQ 1 1 111396 0 19.3mb 19.3mb
yellow open products o5Xg9jLxQh-ZgXbzWQpa0A 1 1 2 0 8.5kb 8.5kb
root@pve-02-ubuntu-2:~# curl -X GET „localhost:9200/licenses/_search?q=city:St.Wolfgang“

Leave a Reply

You must be logged in to post a comment.