From a2280ceb5722de913b74aebbb1ecf2fb33c6ecb8 Mon Sep 17 00:00:00 2001 From: sashakames Date: Mon, 18 Nov 2019 16:06:13 -0800 Subject: [PATCH] correct the timestamp (working otherwise) --- src/java/main/esg/search/publish/impl/solr/SolrRetractor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/main/esg/search/publish/impl/solr/SolrRetractor.java b/src/java/main/esg/search/publish/impl/solr/SolrRetractor.java index fbcde1da..330fc409 100644 --- a/src/java/main/esg/search/publish/impl/solr/SolrRetractor.java +++ b/src/java/main/esg/search/publish/impl/solr/SolrRetractor.java @@ -86,7 +86,7 @@ public void consume(final Record record) throws Exception { metadata.put(QueryParameters.FIELD_RETRACTED, new String[] {"true"} ); metadata.put(QueryParameters.FIELD_LATEST, new String[] {"false"} ); - metadata.put(QueryParameters.FIELD_TIMESTAMP, new String[] {DateTimeFormatter.ISO_INSTANT.format(thedate)} ); + metadata.put(QueryParameters.FIELD_TIMESTAMP_, new String[] {DateTimeFormatter.ISO_INSTANT.format(thedate)} ); HashMap> doc = new HashMap>(); doc.put(query, metadata); updateService.update(solrUrl.toString(),