The API documented here: Custom sources indexing API reference | Workplace Search Guide [7.14] | Elastic
...seems pretty straightforward.
But I've opened a case with support because the response I get when attempting to use it (with the access token associated with my Custom API Source in Workplace Search) is:
"error": "Routing Error. The path you have requested is invalid."
I'm curious if anyone else has used the various API's for creating (bulk_create) or updating or removing documents in Custom API Sources?
We use these Custom API Sources extensively. We typically have a logstash pipeline doing the work to pull the data from our custom source and index it in workplace search. In this case, the pipeline uses a jdbc input. And the query for the jdbc input has changed -- not the schema but the number of results it produces. So what I want to do is "purge" the existing documents in the Custom API Source indexes and re-fill them with the proper subset of documents. This way I don't have to completely remove the Custom API source and re-add it, having to, in turn, re-do the Display Settings.
Anyone else ever tried to do such a purge without entirely removing and re-adding the Custom API source?