Capgemini Engineering interview question

How do you improve search in a simple editor