mirror of https://github.com/apache/lucene.git
javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@797655 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4e07d395fc
commit
c3b5b4ef84
|
@ -191,6 +191,7 @@ 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;
|
||||
}
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue