I can't see how to change an advanced setting via the API. If I use /api/saved_objects/_bulk_create and don't use overwrite then I get a 409 conflict failure, and if I do use overwrite then it appears that the entire set of advanced settings gets overwritten, not just the one I want to change.
Different way of asking the same question: How, using an API, do I set filters:pinnedByDefault to true without disturbing any other advanced settings there might be?
Yeah, I was afraid of that, ta. Obvs this is possible to do from where I currently could put a curl command, a shell script running in an init container at installation time, but I might decide that it's so tedious to do that I don't bother.
Ta. Yes, I found that eventually, but I think I'm deciding that I'm not desperate enough for that! - I'd rather do without the feature I'm thinking of implementing than leave a time bomb like that for a future maintainer.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.