headwirecom / aem-solr-search

AEM Solr Search
Apache License 2.0
51 stars 42 forks source link

Auto detect active Solr nodes for proxy endpoint #10

Open GastonGonzalez opened 8 years ago

GastonGonzalez commented 8 years ago

Currently, we a need a workaround when in SolrCloud to be able to issue AJAX queries through the proxy. The workaround involves selecting on node in the cluster an setting it has the master node in the AEM Solr Search - Solr Configuration Service. A better solution is to ask Zookeeper and select an active node.