Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-8029

Modernize and standardize Solr APIs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 6.0
    • 6.5, 7.0
    • None

    Description

      Solr APIs have organically evolved and they are sometimes inconsistent with each other or not in sync with the widely followed conventions of HTTP protocol. Trying to make incremental changes to make them modern is like applying band-aid. So, we have done a complete rethink of what the APIs should be. The most notable aspects of the API are as follows:
      The new set of APIs will be placed under a new path /solr2. The legacy APIs will continue to work under the /solr path as they used to and they will be eventually deprecated.
      There are 4 types of requests in the new API

      • /v2/<collection-name>/* : Hit a collection directly or manage collections/shards/replicas
      • /v2/<core>/* : Hit a core directly or manage cores
      • /v2/cluster/* : Operations on cluster not pertaining to any collection or core. e.g: security, overseer ops etc

      This will be released as part of a major release. Check the link given below for the full specification. Your comments are welcome
      Solr API version 2 Specification

      Attachments

        1. SOLR-8029.patch
          355 kB
          Noble Paul
        2. SOLR-8029.patch
          178 kB
          Noble Paul
        3. SOLR-8029.patch
          180 kB
          Noble Paul
        4. SOLR-8029.patch
          172 kB
          Noble Paul
        5. SOLR-8029.patch
          170 kB
          Noble Paul

        Issue Links

          Activity

            People

              noble.paul Noble Paul
              noble.paul Noble Paul
              Votes:
              2 Vote for this issue
              Watchers:
              30 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: