Re: SolrJ - CoreAdminRequest / PingRequest and HttpSolrClient baseUrl

2019-03-18 Thread Jörn Franke
Depends what you want to achieve. You can also have two different beans with two different clients and one accesses a core and another accesses without. You may also want depending on your use case get all cores and ping each core individually to check if they are reachable. > Am 18.03.2019 um

Re: SolrJ - CoreAdminRequest / PingRequest and HttpSolrClient baseUrl

2019-03-18 Thread Shawn Heisey
On 3/18/2019 2:04 PM, Markus Schuch wrote: * CoreAdminRequest - is only working when no particular core is given * PingRequest - is only working when a particular core is given That sounds like what I would expect to happen. Using HTTP (not SolrJ), the CoreAdmin API is accessed

SolrJ - CoreAdminRequest / PingRequest and HttpSolrClient baseUrl

2019-03-18 Thread Markus Schuch
Hi folks, i have a question about how to perform a connection check with SolrJ in a generic way. I found PingRequest and CoreAdminRequest in SolrJ. Neither of both work in both scenarios when a SolrClient is created by HttpSolrClient.Builder with AND without having the baseUrl containing the