You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by yo...@apache.org on 2009/07/24 23:01:38 UTC
svn commit: r797655 -
/lucene/solr/trunk/src/java/org/apache/solr/schema/FieldType.java
Author: yonik
Date: Fri Jul 24 21:01:38 2009
New Revision: 797655
URL: http://svn.apache.org/viewvc?rev=797655&view=rev
Log:
javadoc
Modified:
lucene/solr/trunk/src/java/org/apache/solr/schema/FieldType.java
Modified: lucene/solr/trunk/src/java/org/apache/solr/schema/FieldType.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/schema/FieldType.java?rev=797655&r1=797654&r2=797655&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/schema/FieldType.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/schema/FieldType.java Fri Jul 24 21:01:38 2009
@@ -191,8 +191,9 @@
}
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 @@
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