Não tem como, segundo o site do fabricante:
documentaçao hibernate search wrote:Can I mix HQL and Lucene queries?
This is not possible as there is no way to intersect the results from both queries without iterating on at least one of the results.
You may consider adding additional fields to the Lucene index and then look at the Filters in the reference documentation.
]
fonte:
http://www.hibernate.org/446.html
Mesmo assim, alguem tem exemplos de querys?
This message was edited 1 time. Last update was at 05/06/2008 09:39:42
|