-
Notifications
You must be signed in to change notification settings - Fork 609
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
Point in time support #234
Comments
Since
|
Same goes for PIT, you can generate a PointInTime with :
Once you've retrieved the Id, pass it into the body of your request.
|
Hi! Is that how it's recommended to build search queries? Besides, the go Search API has several functions to specify the search request but is missing some. Why is this the case? e.g. stored_fields or so go directly into the request body as well, no? If that's not the way the API should be used, why is the Search API as is in the go library? |
Hi @mweibel, Thank you for these very interesting questions ! The current Go client is a "low-level" client and relies on json specification to generate it's API but avoids interfering with the body. Since the PointInTime API relies on the content of the body this should be handled by the user. However, I believe what you are referring to is more of a helper which already has it's own issue here : #186 Please feel free to pitch in or raise another issue if that's not the case ! |
@Anaethelion thanks for the answer (and sorry for the late reply).
Hmm not really. I was looking more for a search query builder or something like that. Because of the different fields in the Search Request struct I thought the Point in Time is just missing. But of course you're right - all the other fields can be passed as a query string as well. Didn't inspect the code so I didn't see it ;) Given that the library is a low level client, I wonder if a search query builder could be part of this library or rather another library? I'd gladly raise an issue if you could imagine this. |
We are working on higher level clients and some form of query builder is definitely on the table ! |
According to the documentation scrolling is no longer recommended
However, I cannot find a way to use PIT with Go code.
The text was updated successfully, but these errors were encountered: