lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack Krupansky" <j...@basetechnology.com>
Subject Re: Atomic Update Configurations how to?
Date Wed, 12 Jun 2013 13:48:48 GMT

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. 


Mime
View raw message