Update of /var/cvs/contributions/lucene/src/org/mmbase/module/lucene
In directory james.mmbase.org:/tmp/cvs-serv29660
Modified Files:
MMBaseEntry.java
Log Message:
just added a debug line
See also:
http://cvs.mmbase.org/viewcvs/contributions/lucene/src/org/mmbase/module/lucene
Index: MMBaseEntry.java
===================================================================
RCS file:
/var/cvs/contributions/lucene/src/org/mmbase/module/lucene/MMBaseEntry.java,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -b -r1.36 -r1.37
--- MMBaseEntry.java 18 Aug 2008 08:46:01 -0000 1.36
+++ MMBaseEntry.java 20 Aug 2008 10:52:09 -0000 1.37
@@ -34,7 +34,7 @@
*
* @author Pierre van Rooden
* @author Michiel Meeuwissen
- * @version $Id: MMBaseEntry.java,v 1.36 2008/08/18 08:46:01 michiel Exp $
+ * @version $Id: MMBaseEntry.java,v 1.37 2008/08/20 10:52:09 michiel Exp $
**/
public class MMBaseEntry implements IndexEntry {
static private final Logger log =
Logging.getLoggerInstance(MMBaseEntry.class);
@@ -136,6 +136,9 @@
value = transformer.transform(value);
}
}
+ if (log.isDebugEnabled()) {
+ log.debug("" + fieldName + ": " + value + " -> " +
Arrays.asList(value.split(fieldDefinition.split,
"".equals(fieldDefinition.split) ? 1 : 0)));
+ }
for (String v : value.split(fieldDefinition.split,
"".equals(fieldDefinition.split) ? 1 : 0)) {
// Trick with using the 'limit' argument of the split
function makes sure that
// split="" is equivalent to no splitting at all.
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs