Re: Could not load collection from ZK (worked in solr4, failing in solr8) - Help Needed

2021-07-08 Thread Yuval Paz
What error do you see? Also, what are you trying to do? If you are trying to get the cluster's state from an outside service, and not in a Solr plugin, maybe you should use CloudSolrClient instead: ``` var client = new CloudSolrClient .builder(Arrays.asList("zkHost1:port1,zkHost2:port2,..

Re: Strange zkClientConnectTimeout when using external ZK ensemble

2021-07-12 Thread Yuval Paz
> 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. The connection speed to the Zookeeper does not scale linearly with respect to number of server(at least not for reasonable numbers). But I d

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

Re: Strange zkClientConnectTimeout when using external ZK ensemble

2021-07-13 Thread Yuval Paz
methods connect to the zookeeper with several watchers, maybe they slow down the connection? On Tue, Jul 13, 2021 at 4:53 PM Yuval Paz wrote: > 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_WA

Re: Multivalue field query to get first , second ... values of the field

2021-07-19 Thread Yuval Paz
Hello Rajeswari, As far as I know, Solr does not have a built in method to access a specific index. I can think in 3 ways to get the functionality you need: 1. Create a custom document transformer that return a specific index from a multivalued field 2. Create a custom query function to do that

Re: Email alerts with streaming expressions

2021-09-06 Thread Yuval Paz
Me and my team are building upon this solcolator: https://github.com/SOLR4189/solcolator Currently the processor is build for Solr 6.5.1, we are working on updating our Solr and I hope to release a complete version of our Solcolator as open source then (it will be for version 8.6.x). Making it a

Re: Update Log4J library version for Solr 6.6.3

2021-12-11 Thread Yuval Paz
Log4j2 is not a simple upgrade of log4j(1), in fact, it is a completely new library. Although I'm not 100% sure about how Solr uses log4j, in most cases it is not a simple plug and play. If you are concerned about the 0-day vulnerability, see the link below. >From my understanding, the vulnerabi

Re: Solr 8.11.1 Clustering jar file missing ?

2021-12-23 Thread Yuval Paz
>From my understanding, the clustering dependency Should work correctly as long as you don't run on JDK 1.8, so on JDK 11 (if you use the official Docker/Solr operator it should be on JDK 11) it should work fine, but if you use Solr on VM/physical machine I suggest to check the java version, if it