itemsapi / starter

Create vertical search web application in minutes with generator (based on ItemsAPI)
Other
21 stars 15 forks source link

Excessive Sharding #21

Open floppyapple123 opened 7 years ago

floppyapple123 commented 7 years ago

When I reset the program and input new JSON values a lot, bonsai ends up acquiring a lot of shards that it doesn't need, and this ends up getting my cluster shut down. Do you know any ways I can delete the unused clusters or perhaps reduce this problem? Thanks.

cigolpl commented 7 years ago

Maybe let's try curl -XDELETE your-es-url when you start to generate your app again. It will delete all indices in ES.

floppyapple123 commented 7 years ago

Um where should I enter this?

cigolpl commented 7 years ago

Let's run that in your CLI. I am using ubuntu and I am not sure how it's working in your system. "your-es-url" is an ES url which you probably find in Bonsai.