You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/12/09 22:13:00 UTC

[jira] [Commented] (SOLR-12217) Add support for shards.preference in SolrJ for single shard cases

    [ https://issues.apache.org/jira/browse/SOLR-12217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16991988#comment-16991988 ] 

ASF subversion and git services commented on SOLR-12217:
--------------------------------------------------------

Commit 1c78d2c63731d8b4b3b7ec313ac65ddd55761f6a in lucene-solr's branch refs/heads/master from Houston Putman
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=1c78d2c ]

SOLR-12217: Support shards.preference in SolrJ for individual shard requests (#984)



> Add support for shards.preference in SolrJ for single shard cases
> -----------------------------------------------------------------
>
>                 Key: SOLR-12217
>                 URL: https://issues.apache.org/jira/browse/SOLR-12217
>             Project: Solr
>          Issue Type: New Feature
>          Components: SolrJ, streaming expressions
>    Affects Versions: master (9.0), 8.4
>            Reporter: Tomas Eduardo Fernandez Lobbe
>            Assignee: Houston Putman
>            Priority: Major
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> 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).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org