Re: Atomic Updates with SolrJ

2017-11-10 Thread Martin Keller
Hello, as Amrit mentioned, I attached the schema.xml of such an index. Perhaps there is something to find in it. The responses of update and commit look quite normal: {responseHeader={status=0,QTime=2}} {responseHeader={status=0,QTime=14}} After committing the fields fld_BA1F56CD9C87419CB9A271D

Re: Atomic Updates with SolrJ

2017-11-09 Thread Amrit Sarkar
Hi Martin, I tested the same application SolrJ code on my system, it worked just fine on Solr 6.6.x. My Solrclient is "CloudSolrJClient", which I think doesn't make any difference. Can you show the response and field declarations if you are continuously facing the issue. Amrit Sarkar Search Engin

Atomic Updates with SolrJ

2017-11-09 Thread Martin Keller
Hello, I’m trying to Update a field in a document via SolrJ. Unfortunately, while the field itself is updated correctly, values of some other fields are removed. The code looks like this: SolrInputDocument updateDoc = new SolrInputDocument(); updateDoc.addField("id", "1234"); Map updateValue =