added checkplain for input at solr search