Alter itemSearch to search with type param.

Started rewriting docstring for search.