Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search endpoint ? #102

Open
Steph0 opened this issue Jul 10, 2021 · 1 comment
Open

Search endpoint ? #102

Steph0 opened this issue Jul 10, 2021 · 1 comment

Comments

@Steph0
Copy link

Steph0 commented Jul 10, 2021

Hello there !

First, thanks for this SDK.
I've been browsing the Nuxeo documentation + reading of the java SDK code (up to the retrofit definition behind query) but I can't find a find to use the search endpoint (souce 1, source 2) instead of the deprecated query endpoint.

I would picture myself that the SDK would implement the search endpoint as the query endpoint is marked deprecated for a long time now. I don't see also how to trigger a search using operations (seems none corresponds to he search endpoint) either. So i am a bit confused here.

Maybe the community could explain to me if I have been missing something, or if there's something about that deprecated endpoint I did not understand (is that really deprecated since query seems still heavily used even in newest Nuxeo versions) ?

Thanks a lot :)

@kevinleturc
Copy link
Member

Hello,

Indeed there's no implementation of the search endpoint in the java client, we have a ticket on our side JAVACLIENT-178 to implement it but it hasn't been done for now.

I can confirm that the query endpoint is deprecated and we should use the search endpoint instead, but the work to do the migration is heavy and we haven't performed it everywhere yet.

That would be interesting to have it

I will update this issue if this improvement is done.

Regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants