Adding and viewing index resources

Search includes a REST API for viewing and adding resources associated with an index.

DSE Search includes a REST API for viewing and adding resources associated with an index. You can look at the contents of the existing Solr resource by loading its URL in a web browser or using HTTP get. Retrieving and viewing resources returns the last uploaded resource, even if the resource is not the one currently in use. If you upload a new schema, and then before reloading, request the schema resource, Solr returns the new schema even though the Solr core continues to use the old schema.

Use this URL to post a file to Solr:
http://host:port/solr/resource/keyspace.table/filename.ext

Generally, you can post any resource required by Solr to this URL. For example, stopwords.txt and elevate.xml are optional, frequently-used Solr configuration files that you post using this URL.