The exception is just a side effect because you pressed ctrl-c and the response could not be transmitted back, it does not point to the problem.
You should use http://localhost:9200/index/_optimize?max_num_segments=1 instead of http://localhost:9200/index/_optimize Jörg -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoGFJw%3D7MDw8EW0DtnpqzVturkb9UmdyiiZPUJ8m-3HaMg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
