Hi Ere,

Thanks for your reply.

As currently we are looking at having a replica to do indexing, and another
replica to be use for searching, these 2 requests looks like it can archive
this purpose.

Will this be implemented in the Solr 7.4 release?

Regards,
Edwin


On 7 June 2018 at 16:00, Ere Maijala <ere.maij...@helsinki.fi> wrote:

> Hi,
>
> What I did in SOLR-11982 was meant to be used with replica types. The idea
> is that you could have a set of NRT replicas used for indexing and a set of
> PULL replicas used for queries. That's the easiest way to split the work
> since PULL replicas never do indexing work, and then you can say in the
> queries that "shards.preference=replica.type:PULL" or have that as a
> default parameter in solrconfig. SOLR-8146 is not needed for this. I
> suppose now that SOLR-11982 is done, SOLR-8146 would only be needed to make
> it easier to set the preferred replica type etc.
>
> SOLR-11982 also allows you to use replica location in node preference. The
> nodes to use could be deduced from the cluster state and then you could use
> shards.preference with replica.location. But that means the client has to
> know which replicas to prefer.
>
> Regards,
> Ere
>
>
> Zheng Lin Edwin Yeo kirjoitti 4.6.2018 klo 19.09:
>
>> Hi,
>>
>> SOLR-8146 has not been updated since January last year, but I have just
>> commented it.
>>
>> So we need both to be updated in order to achieve the full functionality
>> of
>> setting preferred replica for query/read? Currently, is there a way to
>> achieve this by other means?
>>
>> Regards,
>> Edwin
>>
>> On 4 June 2018 at 19:43, Ere Maijala <ere.maij...@helsinki.fi> wrote:
>>
>> Hi,
>>>
>>> Well, SOLR-11982 adds server-side support for part of what SOLR-8146 aims
>>> to do (shards.preference=replica.location:[something]). It doesn't do
>>> regular expressions or snitches at the moment, though it would be easy to
>>> add. So, it looks to me like SOLR-8146 would need to be updated in this
>>> regard.
>>>
>>> --Ere
>>>
>>>
>>> Zheng Lin Edwin Yeo kirjoitti 4.6.2018 klo 12.45:
>>>
>>> Hi,
>>>>
>>>> Is there any similarities between these two requests in the JIRA
>>>> regarding
>>>> setting of prefer replica function?
>>>>
>>>> (SOLR-11982) Add support for preferReplicaTypes parameter
>>>>
>>>> (SOLR-8146) Allowing SolrJ CloudSolrClient to have preferred replica for
>>>> query/read
>>>>
>>>> I am looking at setting one of the replica to be the preferred replica
>>>> for
>>>> query/read, and another replica to be use for indexing.
>>>>
>>>> I am using Solr 7.3.1 currently.
>>>>
>>>> Regards,
>>>> Edwin
>>>>
>>>>
>>>> --
>>> Ere Maijala
>>> Kansalliskirjasto / The National Library of Finland
>>>
>>>
>>
> --
> Ere Maijala
> Kansalliskirjasto / The National Library of Finland
>

Reply via email to