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

ConfigSet SolrJ API is incomplete

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 8.10
    • None
    • configset-api, SolrJ
    • None

    Description

      SolrJ ConfigSet API allows users to manage configsets but it's curiously incomplete (and somewhat misleading):

      • CREATE action doesn't actually allow users to create a wholly new configset, it only allows to copy one of the existing configsets under a new name. It should really be renamed to COPY.
      • there's no support for UPLOAD action in the SolrJ API, which is a strange omission - there's support for every other action but there's no (easy) way to upload a new configset. ConfigSetHandler supports this action so the problem lies only in the missing client classes.

      I'll work on adding support for UPLOAD, but I'm not sure what to do with the mis-named CREATE - I'd love to rename it but this would cause back-compat issues. Maybe deprecate it, rename it only in 9.0 and keep supporting CREATE -> COPY until 9.1 release?

      Attachments

        Activity

          People

            ab Andrzej Bialecki
            ab Andrzej Bialecki
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: