materialinfo.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. {
  2. "info": {
  3. "properties": {
  4. "id": {
  5. "type": "long"
  6. },
  7. "idMaterialType": {
  8. "type": "long"
  9. },
  10. "materialTypeName": {
  11. "type": "text",
  12. "index": "not_analyzed"
  13. },
  14. "materialName": {
  15. "type": "text",
  16. "analyzer": "index_ansj",
  17. "search_analyzer": "query_ansj",
  18. "fields": {
  19. "raw": {
  20. "type": "keyword"
  21. },
  22. "number": {
  23. "type": "text",
  24. "index": "analyzed",
  25. "analyzer": "number_analyzer"
  26. },
  27. "letter": {
  28. "type": "text",
  29. "index": "analyzed",
  30. "analyzer": "letter_analyzer"
  31. }
  32. }
  33. },
  34. "mtModel": {
  35. "type": "text",
  36. "analyzer": "index_ansj",
  37. "search_analyzer": "query_ansj"
  38. },
  39. "mtRule": {
  40. "type": "text",
  41. "analyzer": "index_ansj",
  42. "search_analyzer": "query_ansj"
  43. },
  44. "mtUnit": {
  45. "type": "text",
  46. "index": "not_analyzed",
  47. "fields": {
  48. "raw": {
  49. "type": "keyword"
  50. },
  51. "number": {
  52. "type": "text",
  53. "index": "analyzed",
  54. "analyzer": "number_analyzer"
  55. },
  56. "letter": {
  57. "type": "text",
  58. "index": "analyzed",
  59. "analyzer": "letter_analyzer"
  60. }
  61. }
  62. },
  63. "byUnit": {
  64. "type": "text",
  65. "index": "not_analyzed",
  66. "fields": {
  67. "raw": {
  68. "type": "keyword"
  69. }
  70. }
  71. },
  72. "seUnit": {
  73. "type": "text",
  74. "index": "not_analyzed",
  75. "fields": {
  76. "raw": {
  77. "type": "keyword"
  78. }
  79. }
  80. },
  81. "convertUnitByToMt": {
  82. "type": "double"
  83. },
  84. "convertUnitMtToSe": {
  85. "type": "double"
  86. },
  87. "newestPrice": {
  88. "type": "double"
  89. },
  90. "voidFlag": {
  91. "type": "integer"
  92. },
  93. "remark": {
  94. "type": "text",
  95. "index": "not_analyzed"
  96. },
  97. "materialCode": {
  98. "type": "text",
  99. "index": "analyzed",
  100. "analyzer": "codefull_analyzer",
  101. "fields": {
  102. "raw": {
  103. "type": "keyword"
  104. }
  105. }
  106. },
  107. "barCode": {
  108. "type": "text",
  109. "index": "not_analyzed"
  110. },
  111. "stockPrecision": {
  112. "type": "integer"
  113. },
  114. "createBy": {
  115. "type": "long"
  116. },
  117. "createTimeLong": {
  118. "type": "long"
  119. },
  120. "updateBy": {
  121. "type": "long"
  122. },
  123. "updateTimeLong": {
  124. "type": "long"
  125. },
  126. "priceType": {
  127. "type": "long"
  128. },
  129. "machineRequestFlag": {
  130. "type": "integer"
  131. }
  132. }
  133. }
  134. }