Is it possible to avoid finding my operator via the search menu? I was wondering if it was possible to avoid making bpy.ops.myscript.doesomething()available in the search menu of blender?

I think it is not possible, but I would like to have some information about it
the manual : https://docs.blender.org/api/blender2.8/bpy.types.Operator.html?highlight=operators#bpy.types.Operator.bl_options

setting 

bl_options = {'INTERNAL'}


should remove the operator from search results.