Author: epbernard
Date: 2007-07-25 16:15:50 -0400 (Wed, 25 Jul 2007)
New Revision: 12816
Modified:
trunk/HibernateExt/search/src/java/org/hibernate/search/query/FullTextQueryImpl.java
Log:
HSEARCH-100 renaming to setProjection and mark the old name as deprecated
Modified:
trunk/HibernateExt/search/src/java/org/hibernate/search/query/FullTextQueryImpl.java
===================================================================
---
trunk/HibernateExt/search/src/java/org/hibernate/search/query/FullTextQueryImpl.java 2007-07-25
19:32:50 UTC (rev 12815)
+++
trunk/HibernateExt/search/src/java/org/hibernate/search/query/FullTextQueryImpl.java 2007-07-25
20:15:50 UTC (rev 12816)
@@ -490,6 +490,10 @@
return this;
}
+ public FullTextQuery setIndexProjection(String... fields) {
+ return setProjection( fields );
+ }
+
public FullTextQuery setFirstResult(int firstResult) {
this.firstResult = firstResult;
return this;