On 5/26/2015 2:37 PM, Shawn Heisey wrote: > On 5/20/2015 12:06 AM, Shalin Shekhar Mangar wrote: >> Sounds similar to https://issues.apache.org/jira/browse/SOLR-6165 which I >> fixed in 4.10. Can you try a newer release? > Looks like that didn't fix it. > > I applied the patch on SOLR-6165 to the lucene_solr_4_9_1 tag, built a > new war, and when it was done, restarted Solr with that war. The > solr-impl version in the dashboard is now > > 4.9-SNAPSHOT 1680667 - solr - 2015-05-20 14:23:11 > > After some importing with DIH and a Solr restart, this is the most > recent error in the log: > > WARN - 2015-05-26 14:28:09.289; > org.apache.solr.update.UpdateLog$LogReplayer; REYPLAY_ERR: IOException > reading log org.apache.solr.common.SolrException: ERROR: > [doc=usatphotos084190] Error adding field > 'did'='java.math.BigInteger:1214221' msg=For input string: > "java.math.BigInteger:1214221" > > Looks like we'll need a new issue. I'm not in a position right now to > try a newer Solr version than 4.9.1.
Given the way that I use Solr, this is honestly not really a major problem for me. Within five minutes or so after DIH is done, my transaction logs will only contain data indexed via SolrJ, so this problem will be gone. The reason I think it's worth fixing, assuming it's still a problem in 5.2: There are people that use DIH *exclusively* for indexing, and for those people, this could become a real problem, because tlog replay won't work. Thanks, Shawn