Re: Ping handler in SolrCloud mode

2016-03-19 Thread Shawn Heisey
On 3/16/2016 8:14 AM, Tom Evans wrote: > The problem occurs when we attempt to query a node to see if products > or items is active on that node. The balancer (haproxy) requests the > ping handler for the appropriate collection, however all the nodes > return OK for all the collections(!) > > Eg, o

Re: Ping handler in SolrCloud mode

2016-03-19 Thread Shawn Heisey
On 3/16/2016 10:11 AM, Tom Evans wrote: > This worked, I would still be interested in a lighter-weight approach > that doesn't involve joins to see if a given collection has a shard on > this server. I suspect that might require a custom ping handler plugin > however. If you are doing joins, then

Re: Ping handler in SolrCloud mode

2016-03-19 Thread Tom Evans
On Wed, Mar 16, 2016 at 4:10 PM, Shawn Heisey wrote: > On 3/16/2016 8:14 AM, Tom Evans wrote: >> The problem occurs when we attempt to query a node to see if products >> or items is active on that node. The balancer (haproxy) requests the >> ping handler for the appropriate collection, however all

Re: Ping handler in SolrCloud mode

2016-03-19 Thread Tom Evans
On Wed, Mar 16, 2016 at 2:14 PM, Tom Evans wrote: > Hi all > > [ .. ] > > The option I'm trying now is to make two ping handler for skus that > join to one of items/products, which should fail on the servers which > do not support it, but I am concerned that this is a little > heavyweight for a st

Ping handler in SolrCloud mode

2016-03-19 Thread Tom Evans
Hi all I have a cloud setup with 8 nodes and 3 collections, products, items and skus. All collections have just one shard, products has 6 replicas, items has 2 replicas, skus has 8 replicas. No node has both products and items, all nodes have skus Some of our queries join from sku to either produ

RE: Ping handler in SolrCloud mode

2016-03-19 Thread Davis, Daniel (NIH/NLM) [C]
Shawn Heisey wrote: > On 3/16/2016 10:11 AM, Tom Evans wrote: > > This worked, I would still be interested in a lighter-weight approach > > that doesn't involve joins to see if a given collection has a shard on > > this server. I suspect that might require a custom ping handler plugin > > howeve