Grant Ingersoll wrote:
I'm looking a bit at the Multicore stuff and I am wondering why we are deprecating code that hasn't been released? Shouldn't we just make it right?
The deprecation is the outcome of an unresolved discussion ;) and yes, it should be resolved.
The issue is how to make MultiCore a derivable class and avoid static classes (so one could implement saving/reading from a DB rather then files, etc). Henri's patch had an incredibly clever method to make a singleton via reflection but (to me) it was overly complex. We went back and forth on this a lot and agreed that the real answer is using Spring (solr 2.0? hopefully) -- and so we made the static access deprecated as a marker to say "uggg, this isn't quite right" -- this is on the clean up before 1.3 list.
So how would you approach this? Its nice to get a new pair of eyes looking at it!
ryan