code: func (s *Server) indexFind(ctx *middleware.Context, req models.IndexFind) {
  	resp := models.NewIndexFindResp()
  
  	// query nodes don't own any data
  	if s.MetricIndex == nil {
  		response.Write(ctx, response.NewMsgp(200, resp))
  		return
  	}
  
  	for _, pattern := range req.Patterns {
  		nodes, err := s.MetricIndex.Find(req.OrgId, pattern, req.From)
  		if err != nil {
  			response.Write(ctx, response.WrapError(err))
  			return
  		}
  		resp.Nodes[pattern] = nodes
  	}
  	response.Write(ctx, response.NewMsgp(200, resp))
  }
docs: // IndexFind returns a sequence of msgp encoded idx.Node's