Started writing documentation fo rthe search API inot the code