You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@solr.apache.org by David Eric Pugh <de...@yahoo.com.INVALID> on 2024/08/14 12:13:47 UTC

Making sure updates to v2 APIs happen as v1 changes happen

Hi all, it's been great to see some of the new improvements to the APIs recently.   One thing that jumped to mind is that we need to make sure that any changes/improvements to a V1 API are also made to the corresponding V2 API.
We're in that awkward world where we have two apis that are maintained, and that many of our users are still on the V1 apis, so hence they want those fixed.  However I feel that we need to make sure that any improvements ALSO happen in V2, or we will never achieve our goal of getting to the V2 API.
I want to draw your attention to this spreadsheet that has the mappings of the V1 to V2 APIs:
https://docs.google.com/spreadsheets/d/1HAoBBFPpSiT8mJmgNZKkZAPwfCfPvlc08m5jz3fQBpA/edit#gid=1549066254
As we look at improvements to V1 apis, please make sure that the corresponding V2 apis are updated.
I'd be interested in other ideas on how to make sure that our V2 apis become the focus of improvement, maybe it's time to start talking about how we deprecate and remove some of the V1 apis?
Eric

Re: Making sure updates to v2 APIs happen as v1 changes happen

Posted by Jason Gerlowski <ge...@gmail.com>.
Happy to give another overview in our Community Meetup on the 21st.
It is complex unfortunately, and we could use help getting to a more
unified place.

On Wed, Aug 14, 2024 at 12:19 PM David Smiley <ds...@apache.org> wrote:
>
> I just want to say, the "flavors" of our APIs makes this difficult.
> It's not even simply V1 vs V2, both have different sub-flavors to be
> decomposed, including core level vs node level variations, original V2
> vs JAX-RS V2, annotation based vs something else... and we have some
> REST framework in here for resources affecting a handful of APIs.
> Some V2 calling V1 instead of the other way around.  I'm looking
> forward to another overview of what's going on :-)
>
> On Wed, Aug 14, 2024 at 8:16 AM David Eric Pugh <de...@yahoo.com.invalid> wrote:
> >
> > Hi all, it's been great to see some of the new improvements to the APIs recently.   One thing that jumped to mind is that we need to make sure that any changes/improvements to a V1 API are also made to the corresponding V2 API.
> > We're in that awkward world where we have two apis that are maintained, and that many of our users are still on the V1 apis, so hence they want those fixed.  However I feel that we need to make sure that any improvements ALSO happen in V2, or we will never achieve our goal of getting to the V2 API.
> > I want to draw your attention to this spreadsheet that has the mappings of the V1 to V2 APIs:
> > https://docs.google.com/spreadsheets/d/1HAoBBFPpSiT8mJmgNZKkZAPwfCfPvlc08m5jz3fQBpA/edit#gid=1549066254
> > As we look at improvements to V1 apis, please make sure that the corresponding V2 apis are updated.
> > I'd be interested in other ideas on how to make sure that our V2 apis become the focus of improvement, maybe it's time to start talking about how we deprecate and remove some of the V1 apis?
> > Eric
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
> For additional commands, e-mail: dev-help@solr.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
For additional commands, e-mail: dev-help@solr.apache.org


Re: Making sure updates to v2 APIs happen as v1 changes happen

Posted by David Smiley <ds...@apache.org>.
I just want to say, the "flavors" of our APIs makes this difficult.
It's not even simply V1 vs V2, both have different sub-flavors to be
decomposed, including core level vs node level variations, original V2
vs JAX-RS V2, annotation based vs something else... and we have some
REST framework in here for resources affecting a handful of APIs.
Some V2 calling V1 instead of the other way around.  I'm looking
forward to another overview of what's going on :-)

On Wed, Aug 14, 2024 at 8:16 AM David Eric Pugh <de...@yahoo.com.invalid> wrote:
>
> Hi all, it's been great to see some of the new improvements to the APIs recently.   One thing that jumped to mind is that we need to make sure that any changes/improvements to a V1 API are also made to the corresponding V2 API.
> We're in that awkward world where we have two apis that are maintained, and that many of our users are still on the V1 apis, so hence they want those fixed.  However I feel that we need to make sure that any improvements ALSO happen in V2, or we will never achieve our goal of getting to the V2 API.
> I want to draw your attention to this spreadsheet that has the mappings of the V1 to V2 APIs:
> https://docs.google.com/spreadsheets/d/1HAoBBFPpSiT8mJmgNZKkZAPwfCfPvlc08m5jz3fQBpA/edit#gid=1549066254
> As we look at improvements to V1 apis, please make sure that the corresponding V2 apis are updated.
> I'd be interested in other ideas on how to make sure that our V2 apis become the focus of improvement, maybe it's time to start talking about how we deprecate and remove some of the V1 apis?
> Eric

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
For additional commands, e-mail: dev-help@solr.apache.org