clarin-eric / VLO

Virtual Language Observatory
GNU General Public License v3.0
14 stars 6 forks source link

"Document is missing mandatory uniqueKey field" #148

Closed twagoo closed 4 years ago

twagoo commented 6 years ago

Seemingly random occurrences of the following error in the importer log:

org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://vlo_solr:8983/solr/vlo-index: Bad Request

request: http://vlo_solr:8983/solr/vlo-index/update?wt=javabin&version=2
Remote error message: Document is missing mandatory uniqueKey field: id
    at org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrClient$Runner.sendUpdateStream(ConcurrentUpdateSolrClient.java:383)
    at org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrClient$Runner.run(ConcurrentUpdateSolrClient.java:182)
    at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:188)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:748)

144 was intended to solve this but it did not.

It may be related to #147 which causes other values to be omitted and seems to trigger other unexpected behaviour.

twagoo commented 6 years ago

The fix for #147 (d7a43d75311a70e12e4d03175239d22f2579a833) does NOT fix this so these two issues seem to be unrelated.

twagoo commented 5 years ago

Need to check whether these are still occurring

twagoo commented 4 years ago

Cannot find any occurrence of this message in the logs of the past two weeks