I have been working with Datastax 6.7 for a couple of months now. Creating search index with the classic graph requires you create schema.xml and Solrconfig.xml through solr admin, which works fine. But when i upgraded to DSE 6.8, I need to create the search index using Datastax Studio 6.8. I have been able to create VertexLabels, materializedView and secondaryIndex. But i am unable to create a search index.
This is my code to create a search index,
schema.vertexLabel('location').
searchIndex().
ifNotExists().
by('geo_point').
waitForIndex(3000).
create()
This is the error i get,
java.lang.IllegalStateException: Could not create search index for vertex label 'location' in graph 'food_cql'. RELOAD or REBUILD failed for search index on 'food_cql.location'. Failed to reload search index food_cql.location because: No resource solrconfig.xml for core food_cql.location, did you miss to upload it?
I have been able to create a graph core and search index successfully using these commands.
you'll need to specify the schema and Solr configuration file like this on a Search node:
You can run these commands to check that they've been uploaded:
You can run this command to check the status of the cores:
Insert data,
Run your queries like this to test: