Author: epbernard
Date: 2008-03-16 12:54:12 -0400 (Sun, 16 Mar 2008)
New Revision: 14442
Modified:
search/trunk/src/java/org/hibernate/search/engine/QueryLoader.java
Log:
HSEARCH-171 log missing objects
Modified: search/trunk/src/java/org/hibernate/search/engine/QueryLoader.java
===================================================================
--- search/trunk/src/java/org/hibernate/search/engine/QueryLoader.java 2008-03-15 00:25:58
UTC (rev 14441)
+++ search/trunk/src/java/org/hibernate/search/engine/QueryLoader.java 2008-03-16 16:54:12
UTC (rev 14442)
@@ -89,6 +89,12 @@
//the other ones are missing ones
result.add( element );
}
+ else {
+ if ( log.isDebugEnabled() ) {
+ log.debug( "Object found in Search index but not in database: "
+ + entityInfo.clazz + " wih id " + entityInfo.id );
+ }
+ }
}
return result;
}
Show replies by date