epugh commented on pull request #753: URL: https://github.com/apache/solr/pull/753#issuecomment-1073863796
@ackepenek so I tried out the feature locally, and I really like it, but did have a thought.... Instead of this being a hard coded to the `add-field-type` command, what if instead it was an interface for you to paste your JSON commands? The use case that I was thinking about is that as I iterate on my relevance algorithem, I'll often modify the same field a couple of times as I figure out what I need, which means I either have a script that does a `delete-field-type` and then `add-field-type` or I used the `replace-field-type`, though honestly I mostly just Delete and Add! What if the button said "Manipulate Field Type" and then it took any json, and ran it, so it assumes you pass in `add-field-type`, `replace-field-type` or `delete-field-type` as appropriate? That might make this feature a lot more robust all the way around, and avoid you having to add a "Delete" button? Most people using this are probably crafting the JSON outside anyway. Also, if this button works well here, I wonder if something like it should be added to the Schema Designer? THoughts? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org