07-06-2021, 02:42 PM
I think it might be because your creation is for "sthpw/pipeline":
insert = SearchType.create('sthpw/pipeline')
but your setting is for "config/pipeline". Long ago, pipelines were thought to be used across multiple projects (which they may be) and were put in the "sthpw" database. This was before the "config" search types existed, which are project specific. I did try to move pipelines to be in the project database at one point, but it was more invasive that I had time for at the time.
So, we are stuck at the moment with "sthpw/pipeline".
insert = SearchType.create('sthpw/pipeline')
but your setting is for "config/pipeline". Long ago, pipelines were thought to be used across multiple projects (which they may be) and were put in the "sthpw" database. This was before the "config" search types existed, which are project specific. I did try to move pipelines to be in the project database at one point, but it was more invasive that I had time for at the time.
So, we are stuck at the moment with "sthpw/pipeline".