Package org.hibernate.search
Interface ProjectionConstants
- All Known Subinterfaces:
FullTextQuery,FullTextQuery,HSQuery
- All Known Implementing Classes:
FullTextQueryImpl,FullTextQueryImpl,HSQueryImpl
public interface ProjectionConstants
Defined projection constants.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.always return 1static final StringThe Lucene document returned by a search.static final StringLucene Document id.static final StringLuceneExplanationobject describing the score computation for the matching object/document This feature is relatively expensive, do not use unless you return a limited amount of objects (using pagination) To retrieve explanation of a single result, consider retrievingDOCUMENT_IDand using fullTextQuery.explain(int)static final StringObject id propertystatic final StringRepresents the Hibernate entity class returned in a search.static final StringThe legacy document's score from a search.static final StringRepresents the Hibernate entity returned in a search.
-
Field Details
-
THIS
Represents the Hibernate entity returned in a search.- See Also:
-
DOCUMENT
The Lucene document returned by a search.- See Also:
-
SCORE
The legacy document's score from a search.- See Also:
-
BOOST
Deprecated.always return 1The boost value of the Lucene document.- See Also:
-
ID
Object id property- See Also:
-
DOCUMENT_ID
Lucene Document id. Expert: Lucene document id can change overtime between 2 different IndexReader opening.- See Also:
-
EXPLANATION
LuceneExplanationobject describing the score computation for the matching object/document This feature is relatively expensive, do not use unless you return a limited amount of objects (using pagination) To retrieve explanation of a single result, consider retrievingDOCUMENT_IDand using fullTextQuery.explain(int)- See Also:
-
OBJECT_CLASS
Represents the Hibernate entity class returned in a search. In contrast to the other constants this constant represents an actual field value of the underlying Lucene document and hence can directly be used in queries.- See Also:
-