[hibernate-commits] Hibernate SVN: r12819 - trunk/HibernateExt/search/doc/reference/en/modules.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Wed Jul 25 19:49:16 EDT 2007


Author: d.plentz
Date: 2007-07-25 19:49:16 -0400 (Wed, 25 Jul 2007)
New Revision: 12819

Modified:
   trunk/HibernateExt/search/doc/reference/en/modules/query.xml
Log:
[HSEARCH-100] Rename fullTextSession.setIndexProjection() to fullTextSession.setProjection()

Modified: trunk/HibernateExt/search/doc/reference/en/modules/query.xml
===================================================================
--- trunk/HibernateExt/search/doc/reference/en/modules/query.xml	2007-07-25 20:46:44 UTC (rev 12818)
+++ trunk/HibernateExt/search/doc/reference/en/modules/query.xml	2007-07-25 23:49:16 UTC (rev 12819)
@@ -156,7 +156,7 @@
         Hibernate Search allows you to return only some properties:</para>
 
         <programlisting>org.hibernate.search.FullTextQuery query = s.createFullTextQuery( luceneQuery, Book.class );
-query.<emphasis role="bold">setIndexProjection( "id", "summary", "body", "mainAuthor.name" )</emphasis>;
+query.<emphasis role="bold">setProjection( "id", "summary", "body", "mainAuthor.name" )</emphasis>;
 List results = query.list();
 Object[] firstResult = (Object[]) results.get(0);
 Integer id = firstResult[0];




More information about the hibernate-commits mailing list