code: func (a *Handler) InitHandler(hl blobserver.FindHandlerByTyper) error {
  	apName := a.ProgramName()
  	searchPrefix, _, err := hl.FindHandlerByType("search")
  	if err != nil {
  		return fmt.Errorf("No search handler configured, which is necessary for the %v app handler", apName)
  	}
  	var sh *search.Handler
  	_, hi := hl.AllHandlers()
  	h, ok := hi[searchPrefix]
  	if !ok {
  		return fmt.Errorf("failed to find the \"search\" handler for %v", apName)
  	}
  	sh = h.(*search.Handler)
  	a.sh = sh
  	return nil
  }
docs: // InitHandler sets the app handler's search handler, if the app handler was configured
  // to have one with HasSearch.