A seperate method looks good from my point of view and also will not break any existing code. Sanne, your approach with the QueryParser works, but I'm a bit unhappy with mixing the Lucene and Hibernate Search API. So there will be a helper class until
HSEARCH-2589 Open can be used. |