we call
Projection the operation of extracting data from the index directly; if you also ask for objects you'll also hit the database, but if you ask for projected data only you won't hit the database.
Hint: enable the hibernate query log to verify when it does query the database.
Quote:
Is projection the only solution?
Besides the projection api provided by Search, you can do whatever you want by using the direct access to the IndexReader:
http://docs.jboss.org/hibernate/stable/search/reference/en/html_single/#d0e3539but whatever you do with the reader directly will be quite similar than the projection api, or would you have some idea for improvements?