Hi Brian,

Yes, the JSON object I am storing is a valid JSON document. The Content
Payload is set to true and the value is:

{"docid":"a1602677-fc7c-43ea-adba-c1ed945ede3d_1831"}


I believe I would have gotten a JSON syntax error saying that the JSON
object was invalid.

---------------------------------------------------

I have a PutSolrContentStream that routes FlowFiles to a LogAttribute on
/connection_failure/ or /failure/

Here is what I see in the Bulletin

14:55:15 EDT   ERROR     1ed45988-8ad6-3252-bd6d-7410b6dba8fd    
localhost:8181
PutSolrContentStream[id=1ed45988-8ad6-3252-bd6d-7410b6dba8fd] Failed to send
StandardFlowFileRecord[uuid=6b929b50-57d9-4178-b276-43eea977569a,claim=StandardContentClaim
[resourceClaim=StandardResourceClaim[id=1461178507835-17, container=default,
section=17], offset=173166, length=122],offset=0,name=block.msg,size=122] to
Solr due to org.apache.solr.client.solrj.SolrServerException:
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error
from server at http://localhost:8983/solr/cobra_shard1_replica3:
[doc=doj_civ_fraud_ws1_a1602677-fc7c-43ea-adba-c1ed945ede3d_1649] missing
required field: docid; routing to failure:
org.apache.solr.client.solrj.SolrServerException:
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error
from server at http://localhost:8983/solr/cobra_shard1_replica3:
[doc=document_a1602677-fc7c-43ea-adba-c1ed945ede3d_1649] missing required
field: docid

14:55:15 EDT     WARNING     0897791f-cc5d-4276-b5ce-76e610ce1478    
localhost:8181
LogAttribute[id=0897791f-cc5d-4276-b5ce-76e610ce1478] logging for flow file
StandardFlowFileRecord[uuid=8f1efd1e-7f71-44bf-8b88-bb890dce5905,claim=StandardContentClaim
[resourceClaim=StandardResourceClaim[id=1461178507835-17, container=default,
section=17], offset=173898, length=122],offset=0,name=CANCELLED  Capital
Allocations w/ Naveen, D Port, M Walker    your ofc.msg,size=122]
--------------------------------------------------
Standard FlowFile Attributes
Key: 'entryDate'
        Value: 'Wed Apr 20 14:54:59 EDT 2016'
Key: 'lineageStartDate'
        Value: 'Wed Apr 20 14:54:59 EDT 2016'
Key: 'fileSize'
        Value: '122'
FlowFile Attribute Map Content
Key: 'docid'
        Value: 'a1602677-fc7c-43ea-adba-c1ed945ede3d_1831'
--------------------------------------------------
{"docid":"a1602677-fc7c-43ea-adba-c1ed945ede3d_1831"}



--
View this message in context: 
http://apache-nifi-developer-list.39713.n7.nabble.com/PutSolrContentStream-Doc-and-DocID-confusion-tp9400p9411.html
Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.

Reply via email to