Query parser for solr