polyfractal / elasticsearch-inquisitor

Site plugin for Elasticsearch to help understand and debug queries.
Apache License 2.0
701 stars 81 forks source link

Feature Request: index management workflow #32

Open pulkitsinghal opened 10 years ago

pulkitsinghal commented 10 years ago

It would be cool if there was a tab, dedicated to index management with features like:

a) choose from a list of indices

b) always list index settings/mappings of the chosen index in a textarea b.1) put the analyzer settings in a separate textarea from type mappings b.2) editing the analyzer settings and hitting save implies index will be closed, changes will be made and then it will be re-opened b.3) editing the type mappings and hitting save implies it can happen live but may fail simply because non-sensical changes cannot be merged by ES

c) give an option to reindex data to a new index via scan/scroll query [i can contribute some java code that i've already written for this task]

this would be super useful when type mappings cannot be saved as-is and we need to create a new index and port data.

polyfractal commented 10 years ago

Heya, really sorry for the delay on this...been extremely busy at work and traveling a lot.

I'm +1 on a feature like this. A long time ago, I started on a "Visual Mapping/Setting" prototype, where you could build mappings and index settings using a set of dropdowns. The prototype is in features/dragdrop, and looked something like this:

image

A more extended interface that helps add/remove them in the index would certainly be useful. Definitely open to PRs for a feature like this. I won't have time to work on it, but would be fine helping to clean up a PR and get it merged!