5.4. Optimizing the query process
Query performance depends on several criteria:
- the Lucene query itself: read the literature on this subject
- the number of object loaded: use pagination (always ;-) ) or index projection (if needed)
- the way Hibernate Search interacts with the Lucene readers: defines the appropriate Section 2.3, “Reader strategy”.