Change UI to support search by type. implement BookSearchResult.createFromMap