Indexing Resources
Property Reindexing
Step-1: Delete the index for property-services
curl -XDELETE http://elasticsearch-client-v1.es-cluster:9200/property-services-enriched
Step-2: Create new index
curl -XPUT -H "Content-Type: application/json" http://elasticsearch-client-v1.es-cluster:9200/property-services-enriched?pretty
Step-3: Create a new alias
curl -XPOST "http://elasticsearch-client-v1.es-cluster:9200/_aliases" -H 'Content-Type: application/json' -d'
{"actions" : [{ "add" : { "index" : "property-services-enriched", "alias" : "property-services" } } ]}'
Step-4: Delete the Kafka connector and create a new one
Step-5: Create a new Kafka connector
Step-6: Once Kafka connector is created , forward port 8080 for index pod
Step-7: Now run the reindexing curl command from outside the playground pod