more work on #42. search is fully operational except pagination.