I am created Solr cloud having 4 nodes. I want to sort the suggestion on
frequency. For this, I have added a line into solrconfig.xml is

*    <str name="comparatorClass">freq</str>*

but it is not working and not reflecting on all nodes. Even I do the below
steps.:

 sudo /mnt/nitin/solr/example/scripts/cloud-scripts/zkcli.sh -zkhost
localhost:9983 -cmd upconfig -confdir
/mnt/nitin/solr/example/solr/collection1/conf -confname default

and restart all the nodes

    sudo bin/solr restart -cloud -d node1 -p 8983
    sudo bin/solr restart -cloud -d node2 -p 7574 -z localhost:9983
    sudo bin/solr restart -cloud -d node3 -p 8984 -z localhost:9983
    sudo bin/solr restart -cloud -d node4 -p 7575 -z localhost:9983

Please see the detail explanation on this
http://stackoverflow.com/questions/28314728/comparatorclass-is-not-reflected-on-all-nodes-in-solr

Reply via email to