You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Jens Ellenberg <el...@silpion.de> on 2012/01/31 10:42:55 UTC
Re: Response status
Hello,
Is there a reference to this status-codes?
Erik Hatcher wrote
>
> It means the request was successful. If the status is non-zero (err,
> 1) then there was an error of some sort.
>
> Erik
>
> On Dec 4, 2008, at 9:32 AM, Robert Young wrote:
>
>> In the standard response format, what does the status mean? It
>> always seems
>> to be 0.
>>
>> Thanks
>> Rob
>
--
View this message in context: http://lucene.472066.n3.nabble.com/Response-status-tp490876p3702747.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Response status
Posted by Jens Ellenberg <el...@silpion.de>.
Thanks,
this helps a lot
greetings
Jens
Am 31.01.2012 13:53, schrieb Erik Hatcher-4 [via Lucene]:
>
> On Jan 31, 2012, at 04:42 , Jens Ellenberg wrote:
>
> > Hello,
> >
> > Is there a reference to this status-codes?
>
> Just the source code. SolrCore#setResponseHeaderValues, which
> predominately uses the codes specified in SolrException:
>
> BAD_REQUEST( 400 ),
> UNAUTHORIZED( 401 ), // not currently used
> FORBIDDEN( 403 ),
> NOT_FOUND( 404 ),
> SERVER_ERROR( 500 ),
> SERVICE_UNAVAILABLE( 503 ),
> UNKNOWN(0);
>
> Erik
>
>
> >
> >
> > Erik Hatcher wrote
> >>
> >> It means the request was successful. If the status is non-zero (err,
> >> 1) then there was an error of some sort.
> >>
> >> Erik
> >>
> >> On Dec 4, 2008, at 9:32 AM, Robert Young wrote:
> >>
> >>> In the standard response format, what does the status mean? It
> >>> always seems
> >>> to be 0.
> >>>
> >>> Thanks
> >>> Rob
> >>
> >
> >
> > --
> > View this message in context:
> http://lucene.472066.n3.nabble.com/Response-status-tp490876p3702747.html
> > Sent from the Solr - User mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------
> If you reply to this email, your message will be added to the
> discussion below:
> http://lucene.472066.n3.nabble.com/Response-status-tp490876p3703172.html
> To unsubscribe from Response status, click here
> <http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=490876&code=ZWxsZW5iZXJnQHNpbHBpb24uZGV8NDkwODc2fDc0MjIyMzQ1Nw==>.
> NAML
> <http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
View this message in context: http://lucene.472066.n3.nabble.com/Response-status-tp490876p3703708.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Response status
Posted by Erik Hatcher <er...@gmail.com>.
On Jan 31, 2012, at 04:42 , Jens Ellenberg wrote:
> Hello,
>
> Is there a reference to this status-codes?
Just the source code. SolrCore#setResponseHeaderValues, which predominately uses the codes specified in SolrException:
BAD_REQUEST( 400 ),
UNAUTHORIZED( 401 ), // not currently used
FORBIDDEN( 403 ),
NOT_FOUND( 404 ),
SERVER_ERROR( 500 ),
SERVICE_UNAVAILABLE( 503 ),
UNKNOWN(0);
Erik
>
>
> Erik Hatcher wrote
>>
>> It means the request was successful. If the status is non-zero (err,
>> 1) then there was an error of some sort.
>>
>> Erik
>>
>> On Dec 4, 2008, at 9:32 AM, Robert Young wrote:
>>
>>> In the standard response format, what does the status mean? It
>>> always seems
>>> to be 0.
>>>
>>> Thanks
>>> Rob
>>
>
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Response-status-tp490876p3702747.html
> Sent from the Solr - User mailing list archive at Nabble.com.