Section 60(8) of MGL prescribes that searches must be carried out in accordance with the provisions of Code of Criminal Procedure, 1973. Section 100 of the Code of Criminal Procedure describes the procedure for search.