code: private void sendSolutionActions(String action, String reqId){
          if(reqId!=null && !reqId.equals("")) {
              Map<String, String> map = Maps.newHashMap();
              map.put("action", action);
              map.put("reqid", reqId);
              this.sendEvent(map);
          }
      }
docs: send search actions after finishing search
  @param action
  @param reqId