test lucene query