Re: Using HTTP-Post for Queries

2007-01-19 Thread Yonik Seeley
On 1/19/07, Erik Hatcher <[EMAIL PROTECTED]> wrote: Also consider that I expect Solr to support the XMLQueryParser at some point in the near future I had always planned on supporting an XML query format, but I never got a chance to review the XMLQueryParser now in Lucene to see if I like it. D

Re: listing/enumerating field information

2007-01-19 Thread Yonik Seeley
On 1/19/07, Erik Hatcher <[EMAIL PROTECTED]> wrote: So, where are we with these things now? On Jan 11, 2007, at 2:24 AM, Tracey Jaquith wrote: > 1) across the entire index, enumerate all the unique values for a > given field. &facet=true&facet.field={fieldname} can do this with the standard req

Re: listing/enumerating field information

2007-01-19 Thread Erik Hatcher
So, where are we with these things now? On Jan 11, 2007, at 2:24 AM, Tracey Jaquith wrote: 1) across the entire index, enumerate all the unique values for a given field. &facet=true&facet.field={fieldname} can do this with the standard request handler. Right? The one delta for my use cas

Re: Using HTTP-Post for Queries

2007-01-19 Thread Erik Hatcher
Also consider that I expect Solr to support the XMLQueryParser at some point in the near future, which would be POSTed in a body for a search request. Being RESTful is something I strive for all too often myself, and using HTTP verbs appropriately. But pragmatically speaking, a POST to So

Re: Using HTTP-Post for Queries

2007-01-19 Thread Yonik Seeley
On 1/19/07, Brian Lucas <[EMAIL PROTECTED]> wrote: Walter Underwood wrote: > Use GET unless it really, really, really doesn't work. POST is > the wrong HTTP semantic for fetching information. Long query > strings are not a good enough reason. HTTP puts no limit on the > length of a URL. > Walter

Re: Using HTTP-Post for Queries

2007-01-19 Thread Walter Underwood
On 1/19/07 10:02 AM, "Brian Lucas" <[EMAIL PROTECTED]> wrote: > Walter Underwood wrote: >> >> Use GET unless it really, really, really doesn't work. POST is >> the wrong HTTP semantic for fetching information. Long query >> strings are not a good enough reason. HTTP puts no limit on the >> length

Re: Using HTTP-Post for Queries

2007-01-19 Thread Brian Lucas
Walter Underwood wrote: > > > Use GET unless it really, really, really doesn't work. POST is > the wrong HTTP semantic for fetching information. Long query > strings are not a good enough reason. HTTP puts no limit on the > length of a URL. > Walter, while your above statement may be true, s

Re: Using HTTP-Post for Queries

2007-01-19 Thread Walter Underwood
On 1/19/07 6:09 AM, "Erik Hatcher" <[EMAIL PROTECTED]> wrote: > On Jan 19, 2007, at 8:54 AM, Maximilian Hütter wrote: >> Can I query Solr using Post-Requests instead of Get? > > Yes. This is in fact how it is done in solrb, because the query > string will get too large: Use GET unless it really,

Re: Using HTTP-Post for Queries

2007-01-19 Thread Erik Hatcher
On Jan 19, 2007, at 8:54 AM, Maximilian Hütter wrote: Can I query Solr using Post-Requests instead of Get? Yes. This is in fact how it is done in solrb, because the query string will get too large:

Using HTTP-Post for Queries

2007-01-19 Thread Maximilian Hütter
Can I query Solr using Post-Requests instead of Get? Best regards!