elassandra importing cql database but not creating elasticsearch indexes
zhuwenpeng01 opened this issue · 2 comments
zhuwenpeng01 commented
I am using version 6.8.4.13. after I install elassandra, I go to cqlsh and import the cql database, but there is no corresponding index created for elasticsearch! May I ask why?
zhuwenpeng01 commented
It's been resolved.
zhuwenpeng01 commented
Execute "curl -XPUT -H 'Content-Type: application/json' http://localhost:9200/test -d'{"mappings":{"docs":{"discover":". *"}}}". Where test is the name of the keyspace and docs is the name of the corresponding table