solr

solr : document field shema design

 

1 document是solr最基本的单元说明 他是有field组成的 其中field 可以指定数据的类型(text float ..indexed stored)

2 field analysis:告诉solr数据增长该怎么作当建立索引的时候     Field analysis is an important part of a field type

3 Solr Field Types A field type includes four types of information:
• The name of the field type
• An implementation class name
• If the field type is a TextField, a description of the field analysis for the field type
• Field attributes
4 field type  class
BCDIntField
BCDLongField
BCDStrField
BinaryField
BoolField
ByteField
DateField
DoubleField
ExternalFileField
FloatField
IntField
LongField
RandomSortField
ShortField
SortableDoubleField
SortableFloatField
SortableIntField
SortableLongField
StrField
TextField
TrieDateField
TrieDoubleField
TrieField
TrieFloatField
TrieIntField 
TrieLongField 
UUIDField


还有一些field的属性,要理解一下

你可能感兴趣的:(Solr)