-
Notifications
You must be signed in to change notification settings - Fork 59
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
[API] Add support to export faceted search result with template file #3737
Labels
kind/enhancement
New feature or request
Comments
SilinPavel
pushed a commit
that referenced
this issue
Oct 10, 2024
AleksandrGorodetskii
added a commit
that referenced
this issue
Oct 11, 2024
AleksandrGorodetskii
added a commit
that referenced
this issue
Oct 11, 2024
AleksandrGorodetskii
added a commit
that referenced
this issue
Oct 11, 2024
AleksandrGorodetskii
added a commit
that referenced
this issue
Oct 14, 2024
SilinPavel
pushed a commit
that referenced
this issue
Oct 16, 2024
AleksandrGorodetskii
added a commit
that referenced
this issue
Oct 17, 2024
rodichenko
pushed a commit
that referenced
this issue
Oct 17, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Background
At the moment, Cloud Pipeline does not allow to export facet search result with predefined format and it would be nice to support it.
Approach
search.export.template.mapping
with the following format:Configuration field
save_to
shall support placeholders:-
Template_ID
- the name of template-
Export_Date
- the current date-
Export_Date:yyyyMMdd-HH:mm:ss
- current date with datetime format-
User
- the name of the user initiated template generationExample:
s3://bucket_name/{User}/{Export_Date:yyyyMMdd-HH:mm:ss}/{Template_ID}.xls
POST /search/facet/export/templates
that streams template content. Request parameters:templateId
- required, the name of template (the key from template configuration)fileName
- optional, the name of the result report file. If not specified a file name<TemplateId>-<DateTime>.xls
shall be generated.POST /search/facet/export/templates/save
that saves search results report tosave_to
path from template configuration. Request params:templateId
- required, the name of template (the key from template configuration)Request body:
Also, it would be nice to support storage files filter: if user manually specified multiple storage files, only this files shall be present in export reports. A new field
files
shall be added to request body:If
files
providesquery
andfilters
shall be ignored.The text was updated successfully, but these errors were encountered: