On Apr 5, 2006, at 9:17 PM, Yonik Seeley wrote:
On 4/5/06, Erik Hatcher <[EMAIL PROTECTED]> wrote:
How about leveraging HTTP 1.1 methods more semantically, such that a
PUT is used for an insert perhaps, and a DELETE for a delete, and GET
for searches. POST is fine for update semantics.
Sounds like a great idea!
Would that also allow us to slap on the fashionable "REST" label? ;-)
Well, loosely speaking Solr already is a RESTful application as it
speaks plain ol' HTTP with lightweight XML using GET/POST. And, in
fact, this is what will make Solr a very popular tool I think.
In my copious free time* I will eventually create, unless someone
beats me to it, a Ruby library to wrap the interface to Solr making
it easily palatable to the flood of Rails applications out there that
need what Solr offers.
Erik