Procedure to find and discard the post(s) with an indexing issue:
– set batch size “1”
– Set debug mode “on”
– Synchronize until it stops on error
– Synchronize again (to see only the post id in error in debug message)
– edit the post, mark it as “not searchable” in the WPSOLR post metabox
– do again the whole procedure
I’m having this same issue.
I followed the steps above and the error I”m getting from Solr is Exception writing document id 126 to the index; possible analysis error. which isn’t super helpful. When I mark one unsearchable, the next one shows up. I also tried indexing different post types to see if it was specific to one type and it happens on the first item every time, just the document ID changes. So I don’t think it’s content-specific.