moved bleve_query from examples to utils