Hi,
I´ve found the problem, the JSON-structure was not correct, it has to be this if you are using the JAVA-API: { "analysis":{ ... }, "index":{ "number_of_replicas":1, "number_of_shards":3 } } Thanks Markus ;) Von: elasticsearch@googlegroups.com [mailto:elasticsearch@googlegroups.com] Im Auftrag von Markus Wiesenbacher Gesendet: Montag, 25. August 2014 23:55 An: elasticsearch@googlegroups.com Betreff: Shards Hi folks, I am using a single Node-Cluster (v1.3.2) on my PC, and I was wondering that there are always 5 shards in the file-system (separate Lucene-indices), no matter how many I configure in in elasticsearch.yml or programmatically with Java-API (loadFromSource with JSON-String). Do I missunderstand something? Many thanks! Markus ;) BTW: Here´s my JSON for the settings: { "analysis":{ ... }, "settings":{ "index":{ "number_of_replicas":1, "number_of_shards":3 } } } -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/009901cfc0af%2448b7ab40%24da 2701c0%24%40codefreun.de <https://groups.google.com/d/msgid/elasticsearch/009901cfc0af%2448b7ab40%24d a2701c0%24%40codefreun.de?utm_medium=email&utm_source=footer> . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/001a01cfc11e%249c6973d0%24d53c5b70%24%40codefreun.de. For more options, visit https://groups.google.com/d/optout.