我们正在尝试再Elasticsearch中映射多字段

    • 第一个字段-‘in’应包含所有索引列
    • 第二个字段-‘orig’应按照原样包含文本
    1. {
    2. "mappings": {
    3. "properties": {
    4. "findings": {
    5. "type": "multi_field",
    6. "fields": {
    7. "in": {
    8. "type": "text"
    9. },
    10. "orig": {
    11. "type": "text",
    12. "index":"not_analyzed"
    13. }
    14. }
    15. }
    16. }
    17. }
    18. }