Interface LuceneSearchProjectionFactory<R,​E>

    • Method Detail

      • document

        ProjectionFinalStep<Document> document()
        Project to a Lucene Document containing all the stored fields.

        Note that only stored fields are returned: fields that are not marked as projectable may be missing.

        Returns:
        The final step of the projection DSL.
      • explanation

        ProjectionFinalStep<Explanation> explanation()
        Project to a Lucene Explanation describing the score computation for the hit.

        This feature is relatively expensive, do not use unless you return a limited amount of objects (using pagination).

        Returns:
        The final step of the projection DSL.