You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Snubbel <So...@spamgourmet.com> on 2013/06/12 14:18:32 UTC
Atomic Update Configurations how to?
Hello,
we are upgrading from Solr 4.0 to Solr 4.3 because we want to use Atomic
Updates.
But I think something in our Configuration ist not correct yet.
When updating Documents I get the following exception:
org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException:
RunUpdateProcessor has recieved an AddUpdateCommand containing a document
that appears to still contain Atomic document update operations, most likely
because DistributedUpdateProcessorFactory was explicitly disabled from this
updateRequestProcessorChain
at
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:402)
at
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:180)
at
org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:117)
at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:116)
at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:102)
at
de.exxcellent.connect.portal.business.solr.AtomicUpdateTest.atomicUpdateTestAddKG2Module(AtomicUpdateTest.java:235)
at
de.exxcellent.connect.portal.business.solr.AtomicUpdateTest.performanceAtomicVSclassicUpdateTest(AtomicUpdateTest.java:45)
What I understand from the Solr Wiki, is that I have to configure Process
Chains correctly. But we don't have any configured yet, do I need one?
Best regards,
XXNS
--
View this message in context: http://lucene.472066.n3.nabble.com/Atomic-Update-Configurations-how-to-tp4069900.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Atomic Update Configurations how to?
Posted by Snubbel <So...@spamgourmet.com>.
Thanks,
I started out with the original solrconfig and schema now, and it works.
Just need to put in everything we are missing and figure out what the
problem really was.
Best regards
Snubbel
--
View this message in context: http://lucene.472066.n3.nabble.com/Atomic-Update-Configurations-how-to-tp4069900p4070534.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Atomic Update Configurations how to?
Posted by Jack Krupansky <ja...@basetechnology.com>.
Note that use of the atomic update feature requires that the Solr
transaction log be enabled in solrconfig using the
<updateLog> configuration element. For example, as in the standard Solr
example solrconfig:
<updateLog>
<str name="dir">${solr.ulog.dir:}</str>
</updateLog>
Unless you have a custom distributed update request processor or have
configured the NoOp Distributing Update Processor, Solr will automatically
inject the Distributed Update Processor.
Hint: Start with Solr 4.3 schema and solrconfig, do a diff with your config
files, and then ONLY CAREFULLY merge in any changes to the 4.3 config files.
In other words, DO NOT just blindly drop in config files.
-- Jack Krupansky
-----Original Message-----
From: Snubbel
Sent: Wednesday, June 12, 2013 8:18 AM
To: solr-user@lucene.apache.org
Subject: Atomic Update Configurations how to?
Hello,
we are upgrading from Solr 4.0 to Solr 4.3 because we want to use Atomic
Updates.
But I think something in our Configuration ist not correct yet.
When updating Documents I get the following exception:
org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException:
RunUpdateProcessor has recieved an AddUpdateCommand containing a document
that appears to still contain Atomic document update operations, most likely
because DistributedUpdateProcessorFactory was explicitly disabled from this
updateRequestProcessorChain
at
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:402)
at
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:180)
at
org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:117)
at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:116)
at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:102)
at
de.exxcellent.connect.portal.business.solr.AtomicUpdateTest.atomicUpdateTestAddKG2Module(AtomicUpdateTest.java:235)
at
de.exxcellent.connect.portal.business.solr.AtomicUpdateTest.performanceAtomicVSclassicUpdateTest(AtomicUpdateTest.java:45)
What I understand from the Solr Wiki, is that I have to configure Process
Chains correctly. But we don't have any configured yet, do I need one?
Best regards,
XXNS
--
View this message in context:
http://lucene.472066.n3.nabble.com/Atomic-Update-Configurations-how-to-tp4069900.html
Sent from the Solr - User mailing list archive at Nabble.com.