Interface LuceneSearchQueryOptionsStep<H,LOS>
-
- All Superinterfaces:
ExtendedSearchFetchable<H,LuceneSearchResult<H>,LuceneSearchScroll<H>>
,LuceneSearchFetchable<H>
,SearchFetchable<H>
,SearchQueryFinalStep<H>
,SearchQueryOptionsStep<LuceneSearchQueryOptionsStep<H,LOS>,H,LOS,LuceneSearchSortFactory,LuceneSearchAggregationFactory>
public interface LuceneSearchQueryOptionsStep<H,LOS> extends SearchQueryOptionsStep<LuceneSearchQueryOptionsStep<H,LOS>,H,LOS,LuceneSearchSortFactory,LuceneSearchAggregationFactory>, LuceneSearchFetchable<H>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LuceneSearchQuery<H>
toQuery()
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, loading, routing, routing, sort, sort, totalHitCountThreshold, truncateAfter
-
-
-
-
Method Detail
-
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<H>
- Returns:
- The
SearchQuery
resulting from the previous DSL steps.
-
-