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

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

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 8.4, 9.0
    • 8.4, 9.0
    • 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

              houston Houston Putman
              tflobbe Tomas Eduardo Fernandez Lobbe
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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