forked from D-Net/dnet-hadoop
[graph provision] added JSON payload to the SolrInputDocuments
This commit is contained in:
parent
dd397d107d
commit
80d7b842e4
|
@ -213,7 +213,7 @@ public class StreamingInputDocumentFactory implements Serializable {
|
||||||
}
|
}
|
||||||
writer.close();
|
writer.close();
|
||||||
indexDocument.addField(INDEX_RESULT, results.toString());
|
indexDocument.addField(INDEX_RESULT, results.toString());
|
||||||
// indexDocument.addField(INDEX_JSON_RESULT, json);
|
indexDocument.addField(INDEX_JSON_RESULT, json);
|
||||||
} finally {
|
} finally {
|
||||||
outputFactory.remove();
|
outputFactory.remove();
|
||||||
eventFactory.remove();
|
eventFactory.remove();
|
||||||
|
|
Loading…
Reference in New Issue