[hibernate-commits] Hibernate SVN: r10570 - branches/Lucene_Integration/HibernateExt/metadata/src/java/org/hibernate/lucene

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Wed Oct 11 16:26:56 EDT 2006


Author: epbernard
Date: 2006-10-11 16:26:55 -0400 (Wed, 11 Oct 2006)
New Revision: 10570

Modified:
   branches/Lucene_Integration/HibernateExt/metadata/src/java/org/hibernate/lucene/LuceneSession.java
Log:
ANN-387 Query filtered by classes now include subclasses

Modified: branches/Lucene_Integration/HibernateExt/metadata/src/java/org/hibernate/lucene/LuceneSession.java
===================================================================
--- branches/Lucene_Integration/HibernateExt/metadata/src/java/org/hibernate/lucene/LuceneSession.java	2006-10-11 20:11:02 UTC (rev 10569)
+++ branches/Lucene_Integration/HibernateExt/metadata/src/java/org/hibernate/lucene/LuceneSession.java	2006-10-11 20:26:55 UTC (rev 10570)
@@ -40,7 +40,9 @@
 	}
 
 	/**
-	 * Execute a Lucene query and retrieve managed objects
+	 * Execute a Lucene query and retrieve managed objects of type entities (or their indexed subclasses)
+     * If entities is empty, include all indexed entities
+     * 
 	 * @param entities must be immutable for the lifetime of the query object
 	 */
 	public Query createLuceneQuery(org.apache.lucene.search.Query luceneQuery, Class... entities) {




More information about the hibernate-commits mailing list