You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Yonik Seeley (JIRA)" <ji...@apache.org> on 2012/06/04 22:54:22 UTC
[jira] [Created] (SOLR-3508) improve json update format
Yonik Seeley created SOLR-3508:
----------------------------------
Summary: improve json update format
Key: SOLR-3508
URL: https://issues.apache.org/jira/browse/SOLR-3508
Project: Solr
Issue Type: Bug
Reporter: Yonik Seeley
Priority: Minor
A small improvement to the JSON update format would be to allow for simpler delete-by-id
{code}
{"delete":"myid"}
{"delete":["id1","id2"]}
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (SOLR-3508) improve json update format
Posted by "Jack Krupansky (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-3508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13289475#comment-13289475 ]
Jack Krupansky commented on SOLR-3508:
--------------------------------------
To be clear, the intent is that the value of a "delete" can be an array which contains a list of zero or more id's to be deleted. At first I thought it was a range (start and end), but in fact it is a list of specific id's.
I presume that somebody will update the doc as well.
> improve json update format
> --------------------------
>
> Key: SOLR-3508
> URL: https://issues.apache.org/jira/browse/SOLR-3508
> Project: Solr
> Issue Type: Bug
> Reporter: Yonik Seeley
> Assignee: Yonik Seeley
> Priority: Minor
> Attachments: SOLR-3508.patch
>
>
> A small improvement to the JSON update format would be to allow for simpler delete-by-id
> {code}
> {"delete":"myid"}
> {"delete":["id1","id2"]}
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (SOLR-3508) improve json update format
Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-3508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13289476#comment-13289476 ]
Yonik Seeley commented on SOLR-3508:
------------------------------------
While I'm in here mucking with the delete syntax, we should probably have a way to specify the version of deletes in the body of the update request as well (as opposed to a param on the URL). It should prob just sit right beside the current "commitWithin".
> improve json update format
> --------------------------
>
> Key: SOLR-3508
> URL: https://issues.apache.org/jira/browse/SOLR-3508
> Project: Solr
> Issue Type: Bug
> Reporter: Yonik Seeley
> Assignee: Yonik Seeley
> Priority: Minor
> Attachments: SOLR-3508.patch
>
>
> A small improvement to the JSON update format would be to allow for simpler delete-by-id
> {code}
> {"delete":"myid"}
> {"delete":["id1","id2"]}
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Updated] (SOLR-3508) improve json update format
Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-3508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yonik Seeley updated SOLR-3508:
-------------------------------
Attachment: SOLR-3508.patch
Here's a patch implementing the syntax in the description.
> improve json update format
> --------------------------
>
> Key: SOLR-3508
> URL: https://issues.apache.org/jira/browse/SOLR-3508
> Project: Solr
> Issue Type: Bug
> Reporter: Yonik Seeley
> Assignee: Yonik Seeley
> Priority: Minor
> Attachments: SOLR-3508.patch
>
>
> A small improvement to the JSON update format would be to allow for simpler delete-by-id
> {code}
> {"delete":"myid"}
> {"delete":["id1","id2"]}
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Assigned] (SOLR-3508) improve json update format
Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-3508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yonik Seeley reassigned SOLR-3508:
----------------------------------
Assignee: Yonik Seeley
> improve json update format
> --------------------------
>
> Key: SOLR-3508
> URL: https://issues.apache.org/jira/browse/SOLR-3508
> Project: Solr
> Issue Type: Bug
> Reporter: Yonik Seeley
> Assignee: Yonik Seeley
> Priority: Minor
>
> A small improvement to the JSON update format would be to allow for simpler delete-by-id
> {code}
> {"delete":"myid"}
> {"delete":["id1","id2"]}
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Updated] (SOLR-3508) improve json update format
Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-3508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yonik Seeley updated SOLR-3508:
-------------------------------
Attachment: SOLR-3508_versions.patch
Here's a patch that allows the specification of _version_ along with each delete.
> improve json update format
> --------------------------
>
> Key: SOLR-3508
> URL: https://issues.apache.org/jira/browse/SOLR-3508
> Project: Solr
> Issue Type: Bug
> Reporter: Yonik Seeley
> Assignee: Yonik Seeley
> Priority: Minor
> Attachments: SOLR-3508.patch, SOLR-3508_versions.patch
>
>
> A small improvement to the JSON update format would be to allow for simpler delete-by-id
> {code}
> {"delete":"myid"}
> {"delete":["id1","id2"]}
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org