docs: private void annotate(DigitalObject object, Payload payload) throws IndexerException {
  		String pid = payload.getId();
  		if (propertiesId.equals(pid)) {
  			return;
  		}
  
  		try {
  			Properties props = new Properties();
  			props.setProperty("metaPid", pid);
  
  			String doc = indexByPythonScript(object, payload, null, ANOTAR_RULES_OID, props);
  			if (doc != null) {
  				doc = "<add>" + doc + "</add>";
  				anotar.request(new DirectXmlRequest("/update", doc));
  				if (anotarAutoCommit) {
  					anotar.commit();
  				}
  			}
  		} catch (Exception e) {
  			log.error("Indexing failed!\n-----\n", e);
  		}
  	}