Save This Page
Home » hibernate-search-src-20081106 » org.hibernate » search » [javadoc | source]
org.hibernate.search
public interface: ProjectionConstants [javadoc | source]

All Known Implementing Classes:
    FullTextQuery, FullTextQuery, FullTextQueryImpl, FullTextQueryImpl

Define Projection constants
Field Summary
public  String THIS    Represtnts the Hibernate Entity returned in a search. 
public  String DOCUMENT    The Lucene document returned by a search. 
public  String SCORE    The legacy document's score from a search. 
public  String BOOST    The boost value of the Lucene document.
     
    public  String ID    Object id property 
    public  String DOCUMENT_ID    Lucene Document id Experimental: If you use this feature, please speak up in the forum Expert: Lucene document id can change overtime between 2 different IndexReader opening. 
    public  String EXPLANATION    Lucene org.apache.lucene.search.Explanation object 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 retrieving #DOCUMENT_ID and using fullTextQuery.explain(int)