Do you have to "reindex"? Are you meaning an optimize operation? You can do an "update" by just sending Solr a new record, and letting Solr deal with the removing and adding of the data.
You can just query Solr, find the records that you want (including all the website data). Update them, and then send the entire record back. Or am I missing something? Are these documents so huge that you don't want to pull back an entire record for some reason? Eric On Thu, Aug 27, 2009 at 1:21 PM, Paul Rosen<p...@performantsoftware.com> wrote: > I realize there is no way to update particular fields in a solr record. I > know the recommendation is to delete the record from the index and re-add > it, but in my case, it is difficult to completely reindex, so that creates > problems with my work flow. > > That is, the info that I use to create a solr doc comes from two places: a > local file that contains most of the info, and a URL in that file that > points to a web page that contains the rest of the info. > > To completely reindex, we have to hit every website again, which is > problematic for a number of reasons. (Plus, those websites don't change > much, so it is just wasted effort.) (Once in a while we do reindex, and it > is a huge production to do so.) > > But that means that if I want to make a small change to either schema.xml or > the local files that I'm indexing, I can't. I can't even fix minor bugs > until our yearly reindexing. > > So, the question is: > > Is there any way to get the info that is already in the solr index for a > document, so that I can use that as a starting place? I would just tweak > that record and add it again. > > Thanks, > Paul >