We're looking to upgrade our Elasticsearch clusters now that we're on ECK (hallelujah!).
Our .NET code uses NEST and I'd like to try the NEST 7.17.5 NuGet package without upgrading our Elasticsearch clusters as we adjust our code for breaking changes (ie. no types) if that's possible. I realize there may be some incompatibilities but my "bot friend" (chat GPT ) seems to think that's a possibility. Is it hallucinating or is that true?
We'd try it out in our development environments first but could it also be a production-worthy configuration? If not, if we could at least try out our code changes in development environments first w/o upgrading our Elasticsearch cluster in that early stage, that would be very helpful.
I pinged that internal team. Let's see if someone comes back.
In general, we wouldn't recommend crossing major release versions...
And of course you could always write a little test to help and check out the API... It will probably come down to what you're actually doing with it.
I highly would not recommend using the recommendations from chatGPT... Not because it's a bad thing, but the learning model data that scraped our documents is from like 18 months ago. So you're looking typically at answers that might have been valid 18 months ago.
Thanks @stephenb, no we haven't tried it yet. We're going through the breaking changes review and upgrade readiness stuff.
In our code project, I'm also making sure we've properly isolated our NEST dependencies. There were a few tweaks there but that job is the only prerequisite to literally just grabbing the latest package, fixing up the code, and pointing it at our development cluster.
I don't think our usage is particularly intricate so I expect it's possible that the functionality we leverage will just work. However, sounds like, even if it does work in our development environments, that's still not a configuration that we'll want to take to production w/o also upgrading ES to 7.x. Anyway, would love to hear thoughts from the internal team.
Yes, I don't trust ChatGPT which is why I brought the question here to see what's really possible and what's been tried. Thanks again!
re: types change - yeah, for sure. Since ES 7.x has to work w/ Lucene 6 indexes and ES 6.8 is definitely aware of the deprecation, I thought it might be possible the "typeless" queries generated by a 7.x client might just work. We'll see.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.