@nursix It was just to check when solr is not available then i will return false. I am going to change it, as at first i will check if solr is running, if not it will return false, else it will return expected..