On Sep 3, 2007, at 12:22 AM, James O'Rourke wrote:
Is there a way to pass the solr server a set of documents without
all the fields present and only update the fields that are provided
leaving the remaining document fields intact or do I need to pull
those documents over the wire myself and do the update manual and
then add them back to the index?
With Solr currently you cannot update a specific field, you have to
re-send the entire document to replace the existing one. However,
preliminary support for such capability has been contributed here:
http://issues.apache.org/jira/browse/SOLR-139 - this is not in its
final form, so this is to use at your own risk given the caveats
listed in that issue about concurrency.
I'm currently using the patch I posted to that issue in a production
environment and its working fine thus far, but it will change in at
least core ways and likely request parameter and formatting ways
before making its debut in Solr's trunk.
Erik