Interface LuceneSearchQueryOptionsStep<SR,H,LOS>
- All Superinterfaces:
ExtendedSearchFetchable<H,,LuceneSearchResult<H>, LuceneSearchScroll<H>> LuceneSearchFetchable<H>,SearchFetchable<H>,SearchQueryFinalStep<H>,SearchQueryOptionsStep<SR,LuceneSearchQueryOptionsStep<SR, H, LOS>, H, LOS, LuceneSearchSortFactory<SR>, LuceneSearchAggregationFactory<SR>>
public interface LuceneSearchQueryOptionsStep<SR,H,LOS>
extends SearchQueryOptionsStep<SR,LuceneSearchQueryOptionsStep<SR,H,LOS>,H,LOS,LuceneSearchSortFactory<SR>,LuceneSearchAggregationFactory<SR>>, LuceneSearchFetchable<H>
-
Method Summary
Modifier and TypeMethodDescriptiontoQuery()Create aSearchQueryinstance matching the definition given in the previous DSL steps.Methods inherited from interface org.hibernate.search.engine.search.query.ExtendedSearchFetchable
fetch, fetch, fetchAll, scrollMethods inherited from interface org.hibernate.search.engine.search.query.SearchFetchable
fetchAllHits, fetchHits, fetchHits, fetchSingleHit, fetchTotalHitCountMethods inherited from interface org.hibernate.search.engine.search.query.dsl.SearchQueryOptionsStep
aggregation, aggregation, failAfter, highlighter, highlighter, highlighter, highlighter, loading, param, routing, routing, sort, sort, totalHitCountThreshold, truncateAfter
-
Method Details
-
toQuery
LuceneSearchQuery<H> toQuery()Description copied from interface:SearchQueryFinalStepCreate aSearchQueryinstance matching the definition given in the previous DSL steps.Calling this method is generally not necessary as most query execution methods are also implemented by this DSL step, so for example
.toQuery().fetch()can be replaced with simply.fetch().- Specified by:
toQueryin interfaceSearchQueryFinalStep<SR>- Returns:
- The
SearchQueryresulting from the previous DSL steps.
-