fix lucene query