Computer scientists borrowed insights from the fruit fly brain to create a more accurate search algorithm. Christopher Intagliata reports.