# Reindex failure

**URL:** https://discuss.elastic.co/t/reindex-failure/121133
**Category:** Elasticsearch
**Created:** [February 22, 2018, 9:29pm UTC](https://discuss.elastic.co/t/reindex-failure/121133 "2018-02-22T21:29:42Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![apexi](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@apexi](https://discuss.elastic.co/u/apexi)
#### Post date: [February 22, 2018, 9:29pm UTC](https://discuss.elastic.co/t/reindex-failure/121133/1 "2018-02-22T21:29:42Z")

</div>

Hello,

I'm trying to fix a mapping conflict on a field that is supposed to be a integer but is indexed as text on the index.

So i've created a new index with the correct mapping and did the reindex but it fails after after a few seconds with this error

```
"cause" : {

    "type" : "mapper_parsing_exception",

    "reason" : "failed to parse [timing]",

    "caused_by" : {

      "type" : "number_format_exception",

      "reason" : "For input string: \"-\""

    }

  },

  "status" : 400

```

Can I force these documents with the field set as "-" to be empty ?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [March 22, 2018, 9:30pm UTC](https://discuss.elastic.co/t/reindex-failure/121133/2 "2018-03-22T21:30:11Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
