Cant index field with ingest pipeline

The "shorthand" dot notation syntax you are using to post the doc does not wortk with processors.

PUT /test3/_doc/1
{

"http.request.body.original": <!--- Here

See here for an explanation

Try this...

PUT /test3/_doc/1
{
  "http": {
    "request": {
      "body": {
        "original": {
          "ArticleNr": "471776",
          "sendMethod": "TOUR",
          "partialDelivery": false,
          "isTourTimetable": false,
          "deliveryAddressId": "1000000028658646379",
          "items": [
            {
              "articleId": 1001223455,
              "quantity": 1
            },
            {
              "articleId": 1001058014,
              "quantity": 1
            },
            {
              "articleId": 1001058015,
              "quantity": 1
            },
            {
              "articleId": 1001058019,
              "quantity": 1
            },
            {
              "articleId": 1001058017,
              "quantity": 1
            }
          ]
        }
      }
    }
  }
}


GET test3/_doc/1
{
  "_index" : "test3",
  "_type" : "_doc",
  "_id" : "1",
  "_version" : 1,
  "_seq_no" : 0,
  "_primary_term" : 1,
  "found" : true,
  "_source" : {
    "http" : {
      "request" : {
        "body" : {
          "original" : {
            "isTourTimetable" : false,
            "deliveryAddressId" : "1000000028658646379",
            "ArticleNr" : "471776",
            "sendMethod" : "TOUR",
            "partialDelivery" : false,
            "items" : [
              {
                "quantity" : 1,
                "articleId" : 1001223455
              },
              {
                "quantity" : 1,
                "articleId" : 1001058014
              },
              {
                "quantity" : 1,
                "articleId" : 1001058015
              },
              {
                "quantity" : 1,
                "articleId" : 1001058019
              },
              {
                "quantity" : 1,
                "articleId" : 1001058017
              }
            ]
          }
        }
      }
    },
    "number_of_articles" : 5
  }
}
1 Like