Lucene query parser for patent