Author: epbernard
Date: 2007-11-13 12:12:02 -0500 (Tue, 13 Nov 2007)
New Revision: 14197
Modified:
search/trunk/src/java/org/hibernate/search/engine/DocumentBuilder.java
Log:
HSEARCH-137 Wrong exception message when FieldBridge and document id are used
Modified: search/trunk/src/java/org/hibernate/search/engine/DocumentBuilder.java
===================================================================
--- search/trunk/src/java/org/hibernate/search/engine/DocumentBuilder.java 2007-11-08
18:21:03 UTC (rev 14196)
+++ search/trunk/src/java/org/hibernate/search/engine/DocumentBuilder.java 2007-11-13
17:12:02 UTC (rev 14197)
@@ -190,7 +190,7 @@
}
else {
throw new SearchException(
- "Bridge for document id does not implement IdFieldBridge: " +
member.getName() );
+ "Bridge for document id does not implement TwoWayFieldBridge: " +
member.getName() );
}
idBoost = getBoost( member );
setAccessible( member );
Show replies by date