CXF-5938: LuceneQueryVisitor is not reusable / not thread-safe