Interface ProjectionConstants

  • All Known Subinterfaces:
    HSQuery

    @Deprecated
    public interface ProjectionConstants
    Deprecated.
    Instead of using Hibernate Search 5 APIs, get a org.hibernate.search.mapper.orm.session.SearchSession using org.hibernate.search.mapper.orm.Search#session(org.hibernate.Session), create a SearchQuery with org.hibernate.search.mapper.orm.session.SearchSession#search(Class), and define your projections using SearchQuerySelectStep.select(Function). Refer to the migration guide for more information.
    Defined projection constants.

    Implementator's note: When adding new constants, be sure to add them to LuceneHSQuery#SUPPORTED_PROJECTION_CONSTANTS, too.

    Author:
    Emmanuel Bernard
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String DOCUMENT
      Deprecated.
      See the javadoc of this class for how to create projections in Hibernate Search 6.
      static String EXPLANATION
      Deprecated.
      See the javadoc of this class for how to create projections in Hibernate Search 6.
      static String ID
      Deprecated.
      See the javadoc of this class for how to create projections in Hibernate Search 6.
      static String OBJECT_CLASS
      Deprecated.
      See the javadoc of this class for how to create projections in Hibernate Search 6.
      static String SCORE
      Deprecated.
      See the javadoc of this class for how to create projections in Hibernate Search 6.
      static String SPATIAL_DISTANCE
      Deprecated.
      See the javadoc of this class for how to create projections in Hibernate Search 6.
      static String THIS
      Deprecated.
      See the javadoc of this class for how to create projections in Hibernate Search 6.