| java.lang.Object org.apache.solr.schema.FieldProperties org.apache.solr.schema.FieldType org.apache.solr.schema.CompressableField
All known Subclasses: org.apache.solr.schema.StrField, org.apache.solr.schema.TextField,
CompressableField | abstract public class CompressableField extends FieldType (Code) | | CompressableField is an abstract field type which enables a
field to be compressed (by specifying compressed="true" at the
field definition level) and provides optional support for specifying a
threshold at which compression is enabled.
Optional settings:
compressThreshold : length, in characters, at which point the
field contents should be compressed [default: 0]
TODO: Enable compression level specification (not yet in lucene)
author: klaas version: $Id: CompressableField.java 479793 2006-11-27 22:40:21Z klaas $ |
DEFAULT_COMPRESS_THRESHOLD | public static int DEFAULT_COMPRESS_THRESHOLD(Code) | | |
compressThreshold | int compressThreshold(Code) | | |
Methods inherited from org.apache.solr.schema.FieldType | public Field createField(SchemaField field, String externalVal, float boost)(Code)(Java Doc) public Analyzer getAnalyzer()(Code)(Java Doc) protected Field.Index getFieldIndex(SchemaField field, String internalVal)(Code)(Java Doc) protected Field.Store getFieldStore(SchemaField field, String internalVal)(Code)(Java Doc) protected Field.TermVector getFieldTermVec(SchemaField field, String internalVal)(Code)(Java Doc) public Analyzer getQueryAnalyzer()(Code)(Java Doc) abstract public SortField getSortField(SchemaField field, boolean top)(Code)(Java Doc) protected SortField getStringSort(SchemaField field, boolean reverse)(Code)(Java Doc) public String getTypeName()(Code)(Java Doc) public ValueSource getValueSource(SchemaField field)(Code)(Java Doc) public String indexedToReadable(String indexedForm)(Code)(Java Doc) protected void init(IndexSchema schema, Map<String, String> args)(Code)(Java Doc) public boolean isTokenized()(Code)(Java Doc) protected void restrictProps(int props)(Code)(Java Doc) public void setAnalyzer(Analyzer analyzer)(Code)(Java Doc) void setArgs(IndexSchema schema, Map<String, String> args)(Code)(Java Doc) public void setQueryAnalyzer(Analyzer analyzer)(Code)(Java Doc) void setTypeName(String typeName)(Code)(Java Doc) public String storedToIndexed(Fieldable f)(Code)(Java Doc) public String storedToReadable(Fieldable f)(Code)(Java Doc) public String toExternal(Fieldable f)(Code)(Java Doc) public String toInternal(String val)(Code)(Java Doc) public String toString()(Code)(Java Doc) abstract public void write(XMLWriter xmlWriter, String name, Fieldable f) throws IOException(Code)(Java Doc) abstract public void write(TextResponseWriter writer, String name, Fieldable f) throws IOException(Code)(Java Doc)
|
|
|