ackepenek commented on pull request #753:
URL: https://github.com/apache/solr/pull/753#issuecomment-1074002756


   > @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.
   > 
   
   @epugh thanks for comments. If we manage the field types with single button 
that called "Manipulate Field Type" the textarea can take the json which 
contains the commands that names are add-field-type, delete-field-type, 
replace-field-type). 
   And the button manipulates the process that we specified in the json.
   
   If you are ok to manage the add, delete, replace operations with single text 
area(json field). I can update the PR.
   
   > Also, if this button works well here, I wonder if something like it should 
be added to the Schema Designer?
   > 
   hmm. why not. but I am not sure that we should think it with this issue. I 
am open your ideas about screens
   
   
   
   


-- 
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

Reply via email to