Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

raktim.0526_188212 avatar image
raktim.0526_188212 asked ·

How do I setup DataStax Graph and Search workload in the same DC?

My problem lies in reloading the core. I am unable to reload the core once I upload the schema.xml and SolrConfig.xml. Do you have graph and search workload enabled on your DC? I thought we need to upload these 2 files if we need to use Solr queries in datastax. Am i doing something wrong here?

dsegraphsearch
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered ·

@raktim.0526_188212 It sounds like you haven't created the core yet so you won't be able to do reload if it doesn't exist. If you want to create the core using dsetool, you'll need to specify the schema and Solr configuration file like this on a Search node:

$ dsetool create_core ks_name.table_name schema=/path/to/schema.xml solrconfig=/path/to/solrconfig.xml

You can run these commands to check that they've been uploaded:

$ dsetool get_core_schema
$ dsetool get_core_config

You can run this command to check the status of the cores:

$ dsetool core_indexing_status -all

For more info, see Managing Search index. Cheers!

1 comment Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

@Erick Ramirez thank you for the reply

0 Likes 0 · ·