Hi,
I am uploading text documents and supply metadata (as JSON) with each document.
My expectation is that this metadata (similar to uploading JSON files) results in fields in the index .
Is that assumption correct ?
Or should I revert back to JSON for the entire document ?
To be clear, right now I have .txt files + JSON for the metadata (like author, date, keywords....)
In Java (excerpt):
AddDocumentOptions options = new AddDocumentOptions.Builder()
.projectId(<projecitd>)
.collectionId(<collectionoid)
.file(txtFile)
.filename(txtFile.getName())
.metadata(jsonMetaData)
.fileContentType(HttpMediaType.TEXT_PLAIN)
.build();
Thanks again
------------------------------
Michel Jonker
------------------------------
#WatsonDiscovery