Skip to content

Commit

Permalink
correct the timestamp (working otherwise)
Browse files Browse the repository at this point in the history
  • Loading branch information
sashakames committed Nov 19, 2019
1 parent 16a983c commit a2280ce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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<String, Map<String,String[]>> doc = new HashMap<String, Map<String,String[]>>();
doc.put(query, metadata);
updateService.update(solrUrl.toString(),
Expand Down

0 comments on commit a2280ce

Please sign in to comment.