Re: REST calls

2010-07-03 Thread Lance Norskog
lto: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: > >>

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 Erik Hatcher
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" the way the term is commonly used. I'm personally much more interested in making our APIs more powerful and easier to

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/ Thes

RE: REST calls

2010-06-30 Thread Jason Chaffee
ts 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", a

RE: REST calls

2010-06-30 Thread Jason Chaffee
ssage- From: Don 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 > The solr docs say it is RESTful, yet it seems that it doesn't use http > headers in a RESTful way. For exam

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

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 wrote: > On Wed, Jun 30, 2010 at 4:55 PM, Lance Norskog wrote: >>  Apparently this is not ReStFuL It is IMVHO insane.

Re: REST calls

2010-06-30 Thread Yonik Seeley
On Wed, Jun 30, 2010 at 4:55 PM, Lance Norskog 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
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, 201

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 t

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 Tim Williams
On Wed, Jun 30, 2010 at 9:17 AM, Jak Akdemir wrote: > On Wed, Jun 30, 2010 at 7:39 AM, Don Werve wrote: > >> 2010/6/27 Jason Chaffee >> >> > 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: >

Re: REST calls

2010-06-30 Thread Jak Akdemir
On Wed, Jun 30, 2010 at 7:39 AM, Don Werve wrote: > 2010/6/27 Jason Chaffee > > > 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.

Re: REST calls

2010-06-30 Thread Tim Williams
On Wed, Jun 30, 2010 at 12:39 AM, Don Werve wrote: > 2010/6/27 Jason Chaffee > >> 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.  Ins

Re: REST calls

2010-06-29 Thread Don Werve
2010/6/27 Jason Chaffee > 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 be used in the UR

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 wrote: > The solr docs say it is RESTful, yet it seems that it doesn't use http > headers in a RESTful way.  For example, it d

REST calls

2010-06-26 Thread Jason Chaffee
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 be used in the URL. Also, it doesn't seem to us