move solr stream indexing to thread

Description

Create the document stream inside the parallel thread to check if the document does still exists. Otherwise it is possible that if the solr threads are executed the documents where already removed from the system and we try to index them anyway (which leads to exceptions).

Environment

None

Assignee

Matthias Eichner

Reporter

Matthias Eichner

Labels

None

URL

None

External issue ID

None

Components

Fix versions

Affects versions

Priority

Medium
Configure