Search pattern according to type of assembly to be performed