test the lucene syntax