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 aSearchQuery
instance matching the definition given in the previous DSL steps.Methods inherited from interface org.hibernate.search.engine.search.query.ExtendedSearchFetchable
fetch, fetch, fetchAll, scroll
Methods inherited from interface org.hibernate.search.engine.search.query.SearchFetchable
fetchAllHits, fetchHits, fetchHits, fetchSingleHit, fetchTotalHitCount
Methods 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:SearchQueryFinalStep
Create aSearchQuery
instance 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:
toQuery
in interfaceSearchQueryFinalStep<SR>
- Returns:
- The
SearchQuery
resulting from the previous DSL steps.
-