Re: Setting preferred replica for query/read

2018-06-10 Thread Zheng Lin Edwin Yeo
Hi Shawn, Thanks for the info. Looking forward to having this functionality in Solr 7.4.0. Regards, Edwin On 9 June 2018 at 23:02, Shawn Heisey wrote: > On 6/9/2018 8:14 AM, Zheng Lin Edwin Yeo wrote: > >> Just to confirm my understanding, if I have 2 replicas, I should set both >> of them to

Re: Setting preferred replica for query/read

2018-06-09 Thread Shawn Heisey
On 6/9/2018 8:14 AM, Zheng Lin Edwin Yeo wrote: Just to confirm my understanding, if I have 2 replicas, I should set both of them to either NRT replicas or TLOG replicas, and not one of each. Then I set one of them to be PULL replica, which will be used for searching? There are multiple possibl

Re: Setting preferred replica for query/read

2018-06-09 Thread Zheng Lin Edwin Yeo
Hi Shawn, Just to confirm my understanding, if I have 2 replicas, I should set both of them to either NRT replicas or TLOG replicas, and not one of each. Then I set one of them to be PULL replica, which will be used for searching? Regards, Edwin On 8 June 2018 at 12:54, Shawn Heisey wrote: > O

Re: Setting preferred replica for query/read

2018-06-07 Thread Shawn Heisey
On 6/7/2018 9:17 PM, Zheng Lin Edwin Yeo wrote: 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? SOLR-1

Re: Setting preferred replica for query/read

2018-06-07 Thread Zheng Lin Edwin Yeo
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

Re: Setting preferred replica for query/read

2018-06-07 Thread Ere Maijala
.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, E

Re: Setting preferred replica for query/read

2018-06-04 Thread Zheng Lin Edwin Yeo
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

Re: Setting preferred replica for query/read

2018-06-04 Thread Ere Maijala
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

Setting preferred replica for query/read

2018-06-04 Thread Zheng Lin Edwin Yeo
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 rep