metacatui icon indicating copy to clipboard operation
metacatui copied to clipboard

When an EML doc is waiting to be indexed, show a message in the Editor

Open laurenwalker opened this issue 8 years ago • 0 comments

When I try to open an EML document in the Editor that has not yet been indexed, I get a Not Found error. But it is more accurate to say that the document is still processing.

The reason why we need to wait on the indexing to complete is because there is no other way to find out which resource map aggregates an EML other than the Solr discovery index. We need to parse the resource map for the Editor to work.

When Solr return 0 numFound, we should send a request to the system metadata API and if the object exists, display a "processing" message.

laurenwalker avatar Nov 06 '17 21:11 laurenwalker