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

igor.rmarinho_185445 avatar image
igor.rmarinho_185445 asked ·

Where can I find the Solr resource solrconfig.xml?

FOLLOW UP QUESTION TO #3620

I was not able to find the physical file solrconfig.xml.

dsesearch
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 ·

@igor.rmarinho_185445 In older versions of DSE, you had to provide the Solr configuration and Solr schema in order to create a Solr core. If the newer versions, the Solr resources get generated automatically for you if you used the CQL Search command CREATE SEARCH INDEX or created the core with auto-generation enabled.

You can retrieve the copies of the Solr resources with the dsetool commands for managing search indexes like this:

$ dsetool get_core_schema keyspace.table_name
$ dsetool get_core_config keyspace.table_name

For more information, see Manage search index with dsetool commands. Cheers!

3 comments 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, so there is not one central solrconfig.xml for the whole node? each index will have their own?

If it works that way so would have to change the config in all them.


0 Likes 0 · ·
Erick Ramirez avatar image Erick Ramirez ♦♦ igor.rmarinho_185445 ·

@igor.rmarinho_185445 To be clear, it's not the configuration of the Solr application -- it is the configuration of each Solr core. Cheers!

P.S. I've converted your answer to a comment so it doesn't confuse other members of the Community. :)

0 Likes 0 · ·
markc avatar image markc Erick Ramirez ♦♦ ·

To add to @Erick Ramirez good answers here:

  • DSE creates a solr core per table so your solr core would be called "keyspace1.table1"
  • For configuration you would change it in the solrconfig.xml (via CQL or downloading the solrconfig.xml editing and uploading wiht dsetool). In DSE 6.x For some global parameters such as rambuffer you would configure in the dse.yaml
0 Likes 0 · ·