06-30-2021, 03:10 PM
To answer the question about namespaces, if these are your own search_types, I would just choose one that is common to all projects (as you have done). It just ensures that your search types don't collide with anybody elses, but it's really just a string so you can use anything. I personally would avoid using a namespace as the project because search_types always get scoped by the current project.
For example, we have vfx/shot that can used in any project. The fully scoped project search_type is vfx/shot?project=my_project so if you do ever need to do a search to another project, you can always explicitly put in the project in the search type:
search = Search("vfx/shot?project=my_second_project")
For example, we have vfx/shot that can used in any project. The fully scoped project search_type is vfx/shot?project=my_project so if you do ever need to do a search to another project, you can always explicitly put in the project in the search type:
search = Search("vfx/shot?project=my_second_project")