Re: REST calls

2010-07-03 Thread Lance Norskog
[mailto:erik.hatc...@gmail.com] Sent: Wednesday, June 30, 2010 7:51 PM To: solr-user@lucene.apache.org Subject: Re: REST calls Solr has 304 support with the last-modified and etag headers.        Erik On Jun 30, 2010, at 7:52 PM, Jason Chaffee wrote: In that case, being able to use Accept headers

RE: REST calls

2010-07-01 Thread Jason Chaffee
Cool, I must have configured something wrong then, because it wasn't working for me. Thanks! -Original Message- From: Erik Hatcher [mailto:erik.hatc...@gmail.com] Sent: Wednesday, June 30, 2010 7:51 PM To: solr-user@lucene.apache.org Subject: Re: REST calls Solr has 304 support

Re: REST calls

2010-06-30 Thread Tim Williams
On Wed, Jun 30, 2010 at 12:39 AM, Don Werve d...@madwombat.com wrote: 2010/6/27 Jason Chaffee jchaf...@ebates.com The solr docs say it is RESTful, yet it seems that it doesn't use http headers in a RESTful way.  For example, it doesn't seem to use the Accept: request header to determine the

Re: REST calls

2010-06-30 Thread Tim Williams
On Wed, Jun 30, 2010 at 9:17 AM, Jak Akdemir jakde...@gmail.com wrote: On Wed, Jun 30, 2010 at 7:39 AM, Don Werve d...@madwombat.com wrote: 2010/6/27 Jason Chaffee jchaf...@ebates.com The solr docs say it is RESTful, yet it seems that it doesn't use http headers in a RESTful way.  For

Re: REST calls

2010-06-30 Thread Yonik Seeley
Solr's APIs are described as REST-like, and probably do qualify as restful the way the term is commonly used. I'm personally much more interested in making our APIs more powerful and easier to use, regardless of any REST purity tests. -Yonik http://www.lucidimagination.com

Re: REST calls

2010-06-30 Thread Chantal Ackermann
On Wed, 2010-06-30 at 16:12 +0200, Yonik Seeley wrote: Solr's APIs are described as REST-like, and probably do qualify as restful the way the term is commonly used. I'm personally much more interested in making our APIs more powerful and easier to use, regardless of any REST purity tests.

Re: REST calls

2010-06-30 Thread Lance Norskog
The stream.file/stream.url/stream.body parameters allow a GET to alter the index. The core management operations are also useable from GET. This allows one to bookmark and mail around a link that changes or blows up the index. Apparently this is not ReStFuL It is IMVHO insane. On Wed, Jun 30,

Re: REST calls

2010-06-30 Thread Yonik Seeley
On Wed, Jun 30, 2010 at 4:55 PM, Lance Norskog goks...@gmail.com wrote: Apparently this is not ReStFuL It is IMVHO insane. Patches welcome... -Yonik http://www.lucidimagination.com

Re: REST calls

2010-06-30 Thread Lance Norskog
I've looked at the problem. It's fairly involved. It probably would take several iterations. (But not as many as field collapsing :) On Wed, Jun 30, 2010 at 2:11 PM, Yonik Seeley yo...@lucidimagination.com wrote: On Wed, Jun 30, 2010 at 4:55 PM, Lance Norskog goks...@gmail.com wrote:  

Re: REST calls

2010-06-30 Thread Ryan McKinley
If there is a real desire/need to make things restful in the official sense, it is worth looking at using a REST framework as the controller rather then the current solution. perhaps: http://www.restlet.org/ https://jersey.dev.java.net/ These would be cool since they encapsulate lots of the

RE: REST calls

2010-06-30 Thread Jason Chaffee
Werve [mailto:d...@madwombat.com] Sent: Tuesday, June 29, 2010 9:40 PM To: solr-user@lucene.apache.org Subject: Re: REST calls 2010/6/27 Jason Chaffee jchaf...@ebates.com The solr docs say it is RESTful, yet it seems that it doesn't use http headers in a RESTful way. For example, it doesn't seem

RE: REST calls

2010-06-30 Thread Jason Chaffee
are not changing often. Jason -Original Message- From: ysee...@gmail.com [mailto:ysee...@gmail.com] On Behalf Of Yonik Seeley Sent: Wednesday, June 30, 2010 7:12 AM To: solr-user@lucene.apache.org Subject: Re: REST calls Solr's APIs are described as REST-like, and probably do qualify as restful

RE: REST calls

2010-06-30 Thread Jason Chaffee
@lucene.apache.org Subject: Re: REST calls If there is a real desire/need to make things restful in the official sense, it is worth looking at using a REST framework as the controller rather then the current solution. perhaps: http://www.restlet.org/ https://jersey.dev.java.net/ These would

Re: REST calls

2010-06-30 Thread Erik Hatcher
AM To: solr-user@lucene.apache.org Subject: Re: REST calls Solr's APIs are described as REST-like, and probably do qualify as restful the way the term is commonly used. I'm personally much more interested in making our APIs more powerful and easier to use, regardless of any REST purity tests

Re: REST calls

2010-06-29 Thread Lance Norskog
Not at all. For one thing, a RESTful service does not allow a GET to alter any data. It is just an HTTP-based web service. On Sat, Jun 26, 2010 at 5:29 PM, Jason Chaffee jchaf...@ebates.com wrote: The solr docs say it is RESTful, yet it seems that it doesn't use http headers in a RESTful way.  

Re: REST calls

2010-06-29 Thread Don Werve
2010/6/27 Jason Chaffee jchaf...@ebates.com The solr docs say it is RESTful, yet it seems that it doesn't use http headers in a RESTful way. For example, it doesn't seem to use the Accept: request header to determine the media-type to be returned. Instead, it requires a query parameter to