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

CloudSolrServer.setIdField is misnamed; change to setRouteField

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • clients - java
    • None

    Description

      CloudSolrServer.setIdField seems innocent enough, but the way it's used is purely for routing. CloudSolrServer doesn't actually care what the ID field is. The default document routing is indeed on the ID but it can be changed.

      For back-compat; it can stay but be deprecated. I propose a setRouteField replacement.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dsmiley David Smiley
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: