not use solr in production posts controller and hide search form