You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alexandre Rafalovitch (JIRA)" <ji...@apache.org> on 2015/01/28 19:48:35 UTC
[jira] [Commented] (SOLR-7054) a pure REST interface for all
operations in Solr
[ https://issues.apache.org/jira/browse/SOLR-7054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14295603#comment-14295603 ]
Alexandre Rafalovitch commented on SOLR-7054:
---------------------------------------------
Some questions to guide this idea:
1. Commit. How do you express that?
2. Default, etc. parameters? UpdateRequestChains? Do they just apply universally?
3. What happens with custom end-points? Or is /docs just a new end-point and the rest maintain the old syntax?
> a pure REST interface for all operations in Solr
> ------------------------------------------------
>
> Key: SOLR-7054
> URL: https://issues.apache.org/jira/browse/SOLR-7054
> Project: Solr
> Issue Type: Improvement
> Reporter: Noble Paul
>
> It would be a single handler say {{/docs}}
> GET would do a query
> GET /docs is equivalent to /select/q=*:*
> GET /docs?q=a:b will be equivalent to /select?q=a:b
> PUT/POST /docs is equivalent to /update and the default format for json would be that of /update/json/docs
> DELETE /docs/id will do a delete by id
> DELETE /docs?q=x:val is delete by query
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org