|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.solr.schema.FieldType
org.apache.solr.schema.BCDIntField
public class BCDIntField
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.solr.schema.FieldType |
---|
FieldType.DefaultAnalyzer |
Field Summary |
---|
Fields inherited from class org.apache.solr.schema.FieldType |
---|
analyzer, args, falseProperties, log, queryAnalyzer, trueProperties, typeName |
Constructor Summary | |
---|---|
BCDIntField()
|
Method Summary | |
---|---|
org.apache.lucene.search.SortField |
getSortField(SchemaField field,
boolean reverse)
Returns the SortField instance that should be used to sort fields of this type. |
ValueSource |
getValueSource(SchemaField field)
called to get the default value source (normally, from the Lucene FieldCache.) |
java.lang.String |
indexedToReadable(java.lang.String indexedForm)
:TODO: document this method |
protected void |
init(IndexSchema schema,
java.util.Map<java.lang.String,java.lang.String> args)
subclasses should initialize themselves with the args provided and remove valid arguments. |
java.lang.String |
toExternal(org.apache.lucene.document.Fieldable f)
Convert the stored-field format to an external (string, human readable) value |
java.lang.String |
toInternal(java.lang.String val)
Convert an external value (from XML update command or from query string) into the internal format. |
void |
write(TextResponseWriter writer,
java.lang.String name,
org.apache.lucene.document.Fieldable f)
calls back to TextResponseWriter to write the field value |
void |
write(XMLWriter xmlWriter,
java.lang.String name,
org.apache.lucene.document.Fieldable f)
Renders the specified field as XML |
Methods inherited from class org.apache.solr.schema.FieldType |
---|
createField, getAnalyzer, getFieldIndex, getFieldStore, getFieldTermVec, getQueryAnalyzer, getStringSort, getTypeName, isTokenized, restrictProps, setAnalyzer, setQueryAnalyzer, storedToIndexed, storedToReadable, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BCDIntField()
Method Detail |
---|
protected void init(IndexSchema schema, java.util.Map<java.lang.String,java.lang.String> args)
FieldType
init
in class FieldType
public org.apache.lucene.search.SortField getSortField(SchemaField field, boolean reverse)
FieldType
getSortField
in class FieldType
public ValueSource getValueSource(SchemaField field)
FieldType
getValueSource
in class FieldType
public java.lang.String toInternal(java.lang.String val)
FieldType
toInternal
in class FieldType
FieldType.toExternal(org.apache.lucene.document.Fieldable)
public java.lang.String toExternal(org.apache.lucene.document.Fieldable f)
FieldType
toExternal
in class FieldType
FieldType.toInternal(java.lang.String)
public java.lang.String indexedToReadable(java.lang.String indexedForm)
FieldType
indexedToReadable
in class FieldType
public void write(XMLWriter xmlWriter, java.lang.String name, org.apache.lucene.document.Fieldable f) throws java.io.IOException
FieldType
write
in class FieldType
java.io.IOException
public void write(TextResponseWriter writer, java.lang.String name, org.apache.lucene.document.Fieldable f) throws java.io.IOException
FieldType
write
in class FieldType
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |