Update of /var/cvs/contributions/lucene/src/org/mmbase/module/lucene
In directory james.mmbase.org:/tmp/cvs-serv21820
Modified Files:
MMBaseEntry.java
Log Message:
logging only
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.37
retrieving revision 1.38
diff -u -b -r1.37 -r1.38
--- MMBaseEntry.java 20 Aug 2008 10:52:09 -0000 1.37
+++ MMBaseEntry.java 12 Feb 2009 12:05:44 -0000 1.38
@@ -34,7 +34,7 @@
*
* @author Pierre van Rooden
* @author Michiel Meeuwissen
- * @version $Id: MMBaseEntry.java,v 1.37 2008/08/20 10:52:09 michiel Exp $
+ * @version $Id: MMBaseEntry.java,v 1.38 2009/02/12 12:05:44 michiel Exp $
**/
public class MMBaseEntry implements IndexEntry {
static private final Logger log =
Logging.getLoggerInstance(MMBaseEntry.class);
@@ -136,16 +136,13 @@
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.
if (fieldDefinition.keyWord) {
if (log.isTraceEnabled()) {
- log.trace("add " + fieldName + " text, keyword" +
v);
+ log.trace("add " + fieldName + " text, keyword " +
v);
}
Field field = new Field(fieldName, v, Field.Store.YES,
Field.Index.UN_TOKENIZED);
field.setBoost(fieldDefinition.boost);
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs