Hi <@U01NZ4D0LDD> I've thrown up some initial WIP ...
# contributions
j
Hi @Jason Bosco I've thrown up some initial WIP rough code at https://gitlab.com/jshevland/typesense-java I'll have to see if I've still got my github login and/or create a new one tomorrow morning, but Alla may want to fiddle with what's there in the mean time (it's a little rough, only has functionality for creating a collection and searching collections at this stage, and will need some refactoring etc). I haven't put too much thought into a few things yet as in the HTTP client used, reactive functionality, and I guess it's best to keep it on the lowest Java version as possible as I fair few companies get stuck on older versions. Haven't used Spring REST client code but might look at adding that when it comes to dealing with the clustering.
🙌 1
j
Hi @Joe, this is great! Yeah, would be cool if we can push this up to the github repo under the typesense org, so we have more eyes on it. If you can share your github username with me, I can add you to the repo
k
Hi @Joe, I agree we should go with a lower Java version. To my knowledge, Java 8 and Java 11 are the most widely used. Also, my understanding is that Java 8 though widely used is EOL. Taking a page from typesense-python which doesn't support Python 2, I propose that Java 11 be chosen as the baseline. The benefits of choosing Java 11 as the baseline are multifold, not only do we get the built-in JDK Http Client but also we can go fully modular with ease.
j
Hi @Kartik Ohri and @Jason Bosco, I've just pushed a few changes to the gitlab repo, it's still a bit of a playpen at the moment but if you want to grab what's there as a start that's cool too. I think I've only got one spot in there that requires Java 9. I swapped to Jersey and Jackson for the JSON handling, but if we want to use the core JDK stuff that shouldn't be too rough. One of the integration tests is failing atm, I think because it's kicking off before things have been indexed perhaps (its the search documents one, its 404'ing so might be something else I've missed, was working OK before I updated the test fixtures though).
Will let you know github handle asap, trying to reset the password at the moment but their captcha is throwing a wobbly
Github password reset captcha is still playing up, but I've got a few more calls done, still have to do export/import and API keys and a couple of others. Can possibly try 'jshevland' as the Github handle it may still work to add it until the reset works (or jshevland@calm-horizons.net).
j
@Kartik Ohri and @Joe I've added your github handles to the github repo. You'd need to accept the invite here: https://github.com/typesense/typesense-java/invitations