Interface LuceneSearchQueryOptionsStep<H,​LOS>

    • Method Detail

      • toQuery

        LuceneSearchQuery<H> toQuery()
        Description copied from interface: SearchQueryFinalStep
        Create a 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().

        Specified by:
        toQuery in interface SearchQueryFinalStep<H>
        Returns:
        The SearchQuery resulting from the previous DSL steps.