Hello all,
i am trying to use the search service to export a query and further use it in a csv file.
Rather than converting the json array into a csv myself the /search/export of the search service itself comes in handy.
BUT:
I get the impression, that /search/export ist not behaving exactly the same as /search
- maybe by design - maybe i am missing something in my request?
1) If any fields are specified in the request body the call results in an error while the specification of fields for /search is working quite fine.
Error:
"The number of columns to be processed (1) must match the number of CellProcessors (2): check that the number of CellProcessors you have defined matches the expected number of columns being read/written",
2) The size parameter seems to be ignored on search/export and also the default of /search is not used (which is 100)
Once i tried /search/export without any fields specified i received the data in csv format, but all records in the specified filter (that might be a risk for this service?)
Hopefully i just missed some details in the request, but from the documentation i couldn´t tell.
Thanks a lot
Best,
Clemens