H - The type of hits for the created query.public interface SearchQueryFinalStep<H> extends SearchFetchable<H>
executed or retrieved as an object.| Modifier and Type | Method and Description |
|---|---|
SearchQuery<H> |
toQuery()
Create a
SearchQuery instance
matching the definition given in the previous DSL steps. |
fetch, fetch, fetchAll, fetchAllHits, fetchHits, fetchHits, fetchSingleHit, fetchTotalHitCountSearchQuery<H> toQuery()
SearchQuery 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().
SearchQuery resulting from the previous DSL steps.Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.