Pergunta de entrevista da empresa Arcesium

'There is a monolithic search api which is written in php and is 20 years old is being rewritten as a microservice in Java , the search algorithm is not being altered only code is changing from php to Java, How will I ensure there are no bugs as a QA lead'