From c3b5b4ef84549796e0c1d39237abc6afb90267c8 Mon Sep 17 00:00:00 2001 From: Yonik Seeley Date: Fri, 24 Jul 2009 21:01:38 +0000 Subject: [PATCH] javadoc git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@797655 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/solr/schema/FieldType.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/java/org/apache/solr/schema/FieldType.java b/src/java/org/apache/solr/schema/FieldType.java index 5e0ea59f4af..035efcbf7bc 100644 --- a/src/java/org/apache/solr/schema/FieldType.java +++ b/src/java/org/apache/solr/schema/FieldType.java @@ -191,8 +191,9 @@ public abstract class FieldType extends FieldProperties { } if (val==null) return null; if (!field.indexed() && !field.stored()) { + if (log.isTraceEnabled()) log.trace("Ignoring unindexed/unstored field: " + field); - return null; + return null; } @@ -262,17 +263,17 @@ public abstract class FieldType extends FieldProperties { return toExternal(f); // by default use the string } - /** :TODO: document this method */ + /** Given an indexed term, return the human readable representation */ public String indexedToReadable(String indexedForm) { return indexedForm; } - /** :TODO: document this method */ + /** Given the stored field, return the human readable representation */ public String storedToReadable(Fieldable f) { return toExternal(f); } - /** :TODO: document this method */ + /** Given the stored field, return the indexed form */ public String storedToIndexed(Fieldable f) { // right now, the transformation of single valued fields like SortableInt // is done when the Field is created, not at analysis time... this means