Hi, I am trying to update the value of one field in an existing document, and it throws me the exception given below. For the update, I am using my own update handler which created a SolrInputDocument from and Existing Solr Document.
I am using Solr6.x built from the source code obtained from github. All artefacts have the version number 7.0.0 The SolrInputDocument looks like this: id: [city business library] nphraseusage: [stored<nphraseusage:1.0>] keyid: [stored,indexed,tokenized,omitNorms,indexOptions=DOCS<keyid:10>] nkeyid: [stored<nkeyid:10>] keytype: [stored,indexed,tokenized,omitNorms,indexOptions=DOCS<keytype:autophrase>] autosuggest: [stored,indexed,tokenized<autosuggest:city business library>] autosuggest_edge: [stored,indexed,tokenized<autosuggest_edge:city business library>] autosuggest_ngram: [stored,indexed,tokenized<autosuggest_ngram:city business library>] phraselastdate: [2016-04-05 10:33:17.574] phrasesig: [{add=6}] _version_: [stored<_version_:1530766187073372160>] I am simply calling super.processAdd(addUpdateCommand); The exception seems to occur due to the use of partial update of "phrasesig" field. Here is the Exception: org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://dodo:8983/solr/icm: TransactionLog doesn't know how to serialize class org.apache.lucene.document.StoredField; try implementing ObjectResolver? at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:577) at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:241) at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:230) at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:149) at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:166) at com.gossinteractive.solr.RRSolrClient.addDocument2Updatehandler(RRSolrClient.java:334) at com.gossinteractive.solr.DocPhraseUpdateProcessorTest.addDocumentAndTheirPhrases(DocPhraseUpdateProcessorTest.java:629) at com.gossinteractive.solr.DocPhraseUpdateProcessorTest.testAdd2Documents2(DocPhraseUpdateProcessorTest.java:187) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41) at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.ParentRunner.run(ParentRunner.java:220) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) Any help to resolve this is highly appreciated. Registered Office: 24 Darklake View, Estover, Plymouth, PL6 7TL. Company Registration No: 3553908 This email contains proprietary information, some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this email, please notify the author by replying to this email. If you are not the intended recipient you may not use, disclose, distribute, copy, print or rely on this email. Email transmission cannot be guaranteed to be secure or error free, as information may be intercepted, corrupted, lost, destroyed, arrive late or incomplete or contain viruses. This email and any files attached to it have been checked with virus detection software before transmission. You should nonetheless carry out your own virus check before opening any attachment. GOSS Interactive Ltd accepts no liability for any loss or damage that may be caused by software viruses.