# Trying to reduce the storage used by elasticsearch2.2

**URL:** <https://discuss.elastic.co/t/trying-to-reduce-the-storage-used-by-elasticsearch2-2/42922>\
**Category:** Elasticsearch\
**Created:** [February 27, 2016, 4:09pm UTC](https://discuss.elastic.co/t/trying-to-reduce-the-storage-used-by-elasticsearch2-2/42922 "2016-02-27T16:09:22Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [February 28, 2016, 11:28am UTC](https://discuss.elastic.co/t/trying-to-reduce-the-storage-used-by-elasticsearch2-2/42922/3 "2016-02-28T11:28:22Z")

</div>

> curl: (6) Could not resolve host: xn--localhost-499d

It looks like Microsoft Office or similar quote-damaged your command. Make sure the quotes are plain ASCII straight quotes. Comparison between your command and what it should look like:

```plaintext
curl -XPUT ‘localhost:9200/twitter/_settings’ -d ‘{“index”: {“codec”: “best_compression”}}’
curl -XPUT 'localhost:9200/twitter/_settings' -d '{"index": {"codec": "best_compression"}}'

```

---

_[View the full topic](https://discuss.elastic.co/t/trying-to-reduce-the-storage-used-by-elasticsearch2-2/42922)._
