You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Alexandre Rafalovitch <ar...@gmail.com> on 2016/02/25 02:18:53 UTC
Solr Schema API: Deprecation warning for GET operations?
Hello,
I am using Solr 5.5 and getting deprecation warning when hitting with
GET /collection/schema/fieldtypes/name
I am confused. In the SOLR-6594, we deprecated PUT/POST, but
explicitly said that GET is ok.
But if it is ok, why am I getting a warning:
..... "warn":"This API is deprecated"}
Is there a better GET/read API I should be using instead?
Regards,
Alex.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: Solr Schema API: Deprecation warning for GET operations?
Posted by Noble Paul <no...@gmail.com>.
yeah GET should work. The old REST methods served by the restlet
should now be ported over to the SchemaHandler.
I shall open a JIRA and track this
On Thu, Feb 25, 2016 at 3:12 PM, Upayavira <uv...@odoko.co.uk> wrote:
> I think you are supposed to be using the bulk api. I think that is what
> the new UI is using.
>
> On Thu, Feb 25, 2016, at 01:18 AM, Alexandre Rafalovitch wrote:
>> Hello,
>>
>> I am using Solr 5.5 and getting deprecation warning when hitting with
>> GET /collection/schema/fieldtypes/name
>>
>> I am confused. In the SOLR-6594, we deprecated PUT/POST, but
>> explicitly said that GET is ok.
>>
>> But if it is ok, why am I getting a warning:
>> ..... "warn":"This API is deprecated"}
>>
>> Is there a better GET/read API I should be using instead?
>>
>> Regards,
>> Alex.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: dev-help@lucene.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>
--
-----------------------------------------------------
Noble Paul
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: Solr Schema API: Deprecation warning for GET operations?
Posted by Upayavira <uv...@odoko.co.uk>.
I think you are supposed to be using the bulk api. I think that is what
the new UI is using.
On Thu, Feb 25, 2016, at 01:18 AM, Alexandre Rafalovitch wrote:
> Hello,
>
> I am using Solr 5.5 and getting deprecation warning when hitting with
> GET /collection/schema/fieldtypes/name
>
> I am confused. In the SOLR-6594, we deprecated PUT/POST, but
> explicitly said that GET is ok.
>
> But if it is ok, why am I getting a warning:
> ..... "warn":"This API is deprecated"}
>
> Is there a better GET/read API I should be using instead?
>
> Regards,
> Alex.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org