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

Add support for shards.preference in SolrJ for single shard cases

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      SOLR-11982 Added support for shards.preference, a way to define the sorting of replicas within a shard by preference (replica types/location). This only works on multi-shard cases. We should add support for the case of single shards when using CloudSolrClient. We should also add support for Streaming Expressions, since they also send requests to individual shards.

      NOTE: This Jira doesn't cover the single-sharded collections cases when not using the CloudSolrClient or Streaming Expressions (i.e. if you do a non-streaming curl request to a random node in the cluster, the shards.preference parameter is not considered in the case of single shards collections).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tflobbe Tomas Eduardo Fernandez Lobbe
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m