{
  "billitemm": {
    "_parent": {
      "type": "info"
    },
    "properties": {
      "id": {
        "type": "long"
      },
      "idStockBill": {
        "type": "long"
      },
      "idStockRoom": {
        "type": "long"
      },
      "idToStockRoom": {
        "type": "long"
      },
      "idMaterial": {
        "type": "long"
      },
      "materialCode": {
        "type": "text",
        "index": "analyzed",
        "analyzer": "codefull_analyzer",
        "fields": {
          "raw": {
            "type":  "keyword"
          }
        }
      },
      "materialName": {
        "type": "text",
        "analyzer": "index_ansj",
        "search_analyzer": "query_ansj",
        "fields": {
          "raw": {
            "type":  "keyword"
          },
          "number": {
            "type": "text",
            "index": "analyzed",
            "analyzer": "number_analyzer"
          },
          "letter": {
            "type": "text",
            "index": "analyzed",
            "analyzer": "letter_analyzer"
          }
        }
      },
      "itemInputQty": {
        "type": "double"
      },
      "itemInputUnit": {
        "type": "long"
      },
      "itemQty": {
        "type": "double"
      },
      "itemPurchaseQty": {
        "type": "double"
      },
      "itemUseQty": {
        "type": "double"
      },
      "materialFlag": {
        "type": "long"
      },
      "createBy": {
        "type": "long"
      },
      "createTimeLong": {
        "type": "long"
      },
      "updateBy": {
        "type": "long"
      },
      "updateTimeLong": {
        "type": "long"
      },
      "printBillCode": {
        "type": "text",
        "index": "analyzed",
        "analyzer": "codefull_analyzer",
        "fields": {
          "raw": {
            "type":  "keyword"
          }
        }
      },
      "idPrintBill": {
        "type": "long"
      },
      "idPrintBreed": {
        "type": "long"
      },
      "qualityRequirements": {
        "type": "text",
        "index": "not_analyzed"
      },
      "idReferenceBill": {
        "type": "long"
      },
      "idReferenceBillItem": {
        "type": "long"
      },
      "referenceBillCode": {
        "type": "text",
        "index": "analyzed",
        "analyzer": "codefull_analyzer",
        "fields": {
          "raw": {
            "type":  "keyword"
          }
        }
      },
      "referenceItemQty": {
        "type": "double"
      },
      "referenceBillCreateMan": {
        "type": "text",
        "index": "not_analyzed",
        "fields": {
          "raw": {
            "type":  "keyword"
          }
        }
      },
      "itemInputPrice": {
        "type": "double"
      },
      "itemPrice": {
        "type": "double"
      },
      "itemPurchasePrice": {
        "type": "double"
      },
      "itemUsePrice": {
        "type": "double"
      },
      "itemMoney": {
        "type": "double"
      },
      "itemPurpose": {
        "type": "text",
        "index": "not_analyzed"
      },
      "deliveryDateLong": {
        "type": "long"
      },
      "outSourceBillCode": {
        "type": "text",
        "index": "analyzed",
        "analyzer": "codefull_analyzer",
        "fields": {
          "raw": {
            "type":  "keyword"
          }
        }
      },
      "clientName": {
        "type": "text",
        "index": "not_analyzed"
      },
      "machineInfoName": {
        "type": "text",
        "index": "not_analyzed"
      },
      "idMachineInfo": {
        "type": "long"
      },
      "itemCompleteQty": {
        "type": "double"
      },
      "itemCompleteStatus": {
        "type": "long"
      },
      "idPreStockLockMan": {
        "type": "long"
      },
      "preStockLockMan": {
        "type": "text",
        "index": "not_analyzed",
        "fields": {
          "raw": {
            "type":  "keyword"
          }
        }
      },
      "breedOriginPaperName": {
        "type": "text",
        "analyzer": "index_ansj",
        "search_analyzer": "query_ansj",
        "fields": {
          "raw": {
            "type":  "keyword"
          },
          "number": {
            "type": "text",
            "index": "analyzed",
            "analyzer": "number_analyzer"
          },
          "letter": {
            "type": "text",
            "index": "analyzed",
            "analyzer": "letter_analyzer"
          }
        }
      },
      "breedPaperCutSize": {
        "type": "text",
        "index": "not_analyzed",
        "fields": {
          "raw": {
            "type":  "keyword"
          }
        }
      },
      "printOrderCode": {
        "type": "text",
        "index": "analyzed",
        "analyzer": "codefull_analyzer",
        "fields": {
          "raw": {
            "type":  "keyword"
          }
        }
      },
      "idPrintOrder": {
        "type": "long"
      },
      "idOrderPart": {
        "type": "long"
      },
      "orderPartName": {
        "type": "text",
        "analyzer": "index_ansj",
        "search_analyzer": "query_ansj",
        "fields": {
          "raw": {
            "type": "keyword"
          },
          "number": {
            "type": "text",
            "index": "analyzed",
            "analyzer": "number_analyzer"
          },
          "letter": {
            "type": "text",
            "index": "analyzed",
            "analyzer": "letter_analyzer"
          }
        }
      },
      "idOrderPartProcess": {
        "type": "long"
      },
      "processName": {
        "type": "text",
        "analyzer": "index_ansj",
        "search_analyzer": "query_ansj",
        "fields": {
          "raw": {
            "type":  "keyword"
          },
          "number": {
            "type": "text",
            "index": "analyzed",
            "analyzer": "number_analyzer"
          },
          "letter": {
            "type": "text",
            "index": "analyzed",
            "analyzer": "letter_analyzer"
          }
        }
      },
      "stopFlag": {
        "type": "long"
      },
      "stopMemo": {
        "type": "text",
        "index": "not_analyzed"
      },
      "productName": {
        "type": "text",
        "analyzer": "index_ansj",
        "search_analyzer": "query_ansj",
        "fields": {
          "raw": {
            "type":  "keyword"
          },
          "number": {
            "type": "text",
            "index": "analyzed",
            "analyzer": "number_analyzer"
          },
          "letter": {
            "type": "text",
            "index": "analyzed",
            "analyzer": "letter_analyzer"
          }
        }
      },
      "selfProvidedPaper": {
        "type": "long"
      },
      "pickPaperFlag": {
        "type": "long"
      },
      "idPreCompany": {
        "type": "long"
      },
      "idRedSrcBill": {
        "type": "long"
      },
      "idRedSrcBillItem": {
        "type": "long"
      },
      "breedNote": {
        "type": "text",
        "analyzer": "index_ansj",
        "search_analyzer": "query_ansj",
        "fields": {
          "raw": {
            "type":  "keyword"
          },
          "number": {
            "type": "text",
            "index": "analyzed",
            "analyzer": "number_analyzer"
          },
          "letter": {
            "type": "text",
            "index": "analyzed",
            "analyzer": "letter_analyzer"
          }
        }
      },
      "redStatus": {
        "type": "long"
      }
    }
  }
}
