Re: Strange zkClientConnectTimeout when using external ZK ensemble

2021-07-13 Thread Bram Van Dam
On 12/07/2021 18:10, Yuval Paz wrote: >> Wouldn't it make more sense to set this value to $zkClientTimeout x > $numServers? > > I don't think it would make much sense to calculate it in such a method. Maybe not, but in the worst case the last ZK server won't be tried unless the timeout is that lo

Re: Strange zkClientConnectTimeout when using external ZK ensemble

2021-07-13 Thread Colvin Cowie
What version of Solr are you on? If you are on 8.7.0+ the timeout used on the SolrDispatchFilter is configurable and should work correctly since https://issues.apache.org/jira/browse/SOLR-14503 The timeout was configurable in earlier releases, but the wrong constructor of SolrZkClient was being use

Re: Strange zkClientConnectTimeout when using external ZK ensemble

2021-07-13 Thread Bram Van Dam
On 13/07/2021 12:26, Colvin Cowie wrote: > What version of Solr are you on? We observed this on 7.7. I assumed that SOLR_WAIT_FOR_ZK only applied to embedded ZK instances and not external ensembles. But going by your explanation, I'll have to revisit that. Thanks for pointing that out. Worth a sh

Jetty version in solrj 8.9 not updated

2021-07-13 Thread Craig Wrigglesworth
Hi, I was pleased to see that jetty was updated in the Solr 8.9 release SOLR-15316: Upgrade Jetty to 9.4.41.v20210516 (janhoy, Mike Drob) However I still see the older jetty and netty dependencies in solrj 8.9.0 so we still have all the accompanying CVE issues. Should Solrj not have been update

Re: Strange zkClientConnectTimeout when using external ZK ensemble

2021-07-13 Thread Yuval Paz
If you are on 8.7.0+ the timeout used on the SolrDispatchFilter is configurable and should work correctly since The actual use of SOLR_WAIT_FOR_ZK is only on loading the solr.xml from the zookeeper (code taken from main): if (!StringUtils.isEmpty(zkHost)) { int startUpZkTimeOut = Integer.ge

solr streams shortestpath errors on id with colon

2021-07-13 Thread Kenny Knecht
Hi all I have the following simple expression in solr 8.8 expr=shortestPath(core_data,from="https\:// mycompany.com/id/ARMP/AM/GT/ST/CCS1/01/03/05/96/96",to="https\:// mycompany.com/id/ARMP/AM/GT/ST/CCS1/01/03/IS/02 ",edge="id=link_ss",maxDepth="4") And this gives an error. java.lang.RuntimeExce

Re: Strange zkClientConnectTimeout when using external ZK ensemble

2021-07-13 Thread Yuval Paz
Btw - Colvin is correct that before loading a core, the code need to first get the node config, that talks to the zookeeper. If you didn’t increase the waitForZk, it should have 30s connection timeout, so it is weird to fail consistently at the CoreContainer#load. The ZkController#connect methods

Re: Aligning Shards from different Collections on the same Solr server based on Date Range

2021-07-13 Thread Joel Bernstein
The optimized join was added in Solr 8.8: https://issues.apache.org/jira/browse/SOLR-15049 It kicks in when you use the join qparser plugin in the following scenario: 1) Do not specify a fromIndex. This is because the to and from index are the same. 2) The to and from fields are the same. 3) The

Endeca Dimesions -> Solr Facets

2021-07-13 Thread Avremel
Hey Folks, I am working on porting over an Endeca v6 setup over to Solr 8. I have a few questions regarding configuring facets. 1. With Endeca, I can mix ranges and individual dimension values in the same dimension. For example, prices between $0-$100 as well as $101 in the same facet query. Is t

Rule-Based Authorization Plugin not working as described in the documentation

2021-07-13 Thread Sebastien VERDET
Hello everybody, I'm trying to deploy the "RBAP" plugin on a really basic solr 8.8.2 installation that was done using the Ansible galaxy module by Jeff Geerling : https://galaxy.ansible.com/geerlingguy/solr This is pretty straightforward : standalone, started through systemd. I've kept the d

Re: Rule-Based Authorization Plugin not working as described in the documentation

2021-07-13 Thread Thomas Corthals
Hello Sebastien, Unfortunately rules can only have a collection scope in SolrCloud, not a core scope in standalone Solr. Thomas Op di 13 jul. 2021 om 16:17 schreef Sebastien VERDET : > Hello everybody, > > I'm trying to deploy the "RBAP" plugin on a really basic solr 8.8.2 > installation that w

Re: Endeca Dimesions -> Solr Facets

2021-07-13 Thread Avremel
#3 is answered here https://stackoverflow.com/a/33192998/4822174 On Tue, Jul 13, 2021 at 11:32 AM Avremel wrote: > Hey Folks, > > I am working on porting over an Endeca v6 setup over to Solr 8. I have a > few questions regarding configuring facets. > > 1. With Endeca, I can mix ranges and indivi