As for the latter, however, it is more often used in a negative way like "ゴミをあさる", which means "go through garbage for food", or "女をあさる", which means "indiscriminately look for a woman to flirt with". So, I recommend you should refrain from using it.