Documentation

Select a category on the left, to get your answers quickly

Delete configuration file

  1. GET https://opensolr.com/solr_manager/api/delete_config_file
  2. Parameters:
    1. ​email - your opensolr registration email address
    2. api_key - your opensolr api_key
    3. index_name - the name of your Opensolr index
    4. file_name - the name of the config file you wish to remove from your solr index, without the file extension
    5. file_extension - the extension of the config file you wish to remove from your solr index, without the period
  3. Example: https://opensolr.com/solr_manager/api/delete_config_file?email=PLEASE_LOG_IN&
    api_key=PLEASE_LOG_IN&core_name=my_solr_core&file_name=schema&file_extension=xml

Get configuration file

  1. GET https://opensolr.com/solr_manager/api/get_file
  2. Parameters:
    1. ​email - your opensolr registration email address
    2. api_key - your opensolr api_key
    3. index_name - the name of the index
    4. file_name - the name of the config file you wish to get, without the file extension
    5. file_extension - the extension of the config file you wish to get, without the period
  3. Example: https://opensolr.com/solr_manager/api/get_file?email=PLEASE_LOG_IN&
    api_key=PLEASE_LOG_IN&core_name=my_solr_core&file_name=schema&file_extension=xml

Get all the configuration files list from the server

  1. ​GET https://opensolr.com/solr_manager/api/get_all_config_files
  2. Parameters:
    1. ​email your opensolr registration email address
    2. api_key - your opensolr api_key
    3. core_name - the name of the core you wish to upload the schema.xml for
  3. Example: https://opensolr.com/solr_manager/api/get_all_config_files?email=PLEASE_LOG_IN&
    api_key=PLEASE_LOG_IN&core_name=my_solr_core

Upload config zip

  1. ​POST https://opensolr.com/solr_manager/api/upload_zip_config_files
  2. Note that if uploading a zip archive containing multiple files, you will use the upload_zip_config_files API endpoint 
  3. Parameters:
    1. ​email your opensolr registration email address
    2. api_key - your opensolr api_key
    3. core_name - the name of the core you wish to upload the schema.xml for
    4. userfile - your local config.zip file to POST and upload to the server
  4. Example: https://opensolr.com/solr_manager/upload_config_files_form

Upload configuration file

Allows to automate the upload of a single solr config file. 

  1. ​POST https://opensolr.com/solr_manager/api/upload_config_file
  2. Parameters:
    1. ​email your opensolr registration email address
    2. api_key - your opensolr api_key
    3. core_name - the name of the core you wish to upload the schema.xml for
    4. userfile - your local schema.xml file to POST and upload to the server
  3. Example here: https://opensolr.com/solr_manager/upload_config_file_form




Review us on Google Business
Close Check out the Fully Automated Solr server setup for Drupal & WordPress.