上QQ阅读APP看书,第一时间看更新
Adding a field with multiple mappings
Often a field must be processed with several core types or in different ways. For example, a string field must be processed as tokenized for search and not-tokenized for sorting. To do this, we need to define a fields multifield special property.
The fields property is a very powerful feature of mappings because it allows you to use the same field in different ways.