Thank you again Emir. I can make my code ZK aware, that is no problem, but I 
can’t make it shard leader aware.  Can you point me to a document how are Solr 
shards created?  I already use ZK to get stuff, but I don’ t understand how to 
distinguish between shards from information I can get from a document that has 
to be indexes.

At the moment I send everything to one node, but I am pretty much sure it would 
help to send data to collection nodes. However, it would be even better it I 
can send data directly to shard leader. If you can’t describe this easily, I 
will check Soltj implementation.

Regards,
Boban




> On 11. Feb 2019, at 17:15, Emir Arnautović <emir.arnauto...@sematext.com> 
> wrote:
> 
> Hi Boban,
> Not sure if there is Solrj port to Go, but you can take that as model to 
> build your ZK aware client that groups and sends updates to shard leaders. I 
> see that there are couple of Solr Go clients, so you might first check if 
> some already supports it or if it makes sense that you contribute that part 
> to one of your choice.
> 
> Emir
> --
> Monitoring - Log Management - Alerting - Anomaly Detection
> Solr & Elasticsearch Consulting Support Training - http://sematext.com/

Reply via email to