[ 
https://issues.apache.org/jira/browse/SOLR-9052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15269171#comment-15269171
 ] 

Mary Jo Sminkey commented on SOLR-9052:
---------------------------------------

I like it Jan, that sounds like a good solution that wouldn't require too much 
modification to the existing method(s). I expect the boost is the one setting 
on docs that people are most likely to need to include although it would 
certainly be a good idea to add support for the other settings as well 
(overwrite and commitWithin are two that I know of). 

> Provide a syntax for Adding Multiple Documents on REST that Uses Proper JSON 
> Format
> -----------------------------------------------------------------------------------
>
>                 Key: SOLR-9052
>                 URL: https://issues.apache.org/jira/browse/SOLR-9052
>             Project: Solr
>          Issue Type: Improvement
>          Components: update
>            Reporter: Mary Jo Sminkey
>
> Currently if you want to post a batch of documents to the update handler and 
> need to include any options like a boost for each, you have to use a format 
> that uses multiple "add" keys, which make it virtually impossible to build an 
> object in another language and serialize it since most do not allow multiple 
> keys of the same name. Many JSON formatters and validators as well will not 
> allow this. While the JSON specs do not exclude it outright, they do say that 
> keys "SHOULD" be unique and certainly not having unique keys results in a 
> multitude of issues when trying to work with Solr from other languages. 
> Please add a way to send multiple documents to the update handler via the 
> REST Api that does not require using multiple "add" keys. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to