Mark That sounds like a Use-Case for ExternalFileField, doesn't it? You'll find more infos about that here: http://lucene.apache.org/solr/api/org/apache/solr/schema/ExternalFileField.html
Stefan On Saturday, May 12, 2012 at 7:00 PM, Mark Laurent wrote: > Hello, > > Is it possible to perform an index commit that Solr would add the incoming > value to an existing fields' value? > > I have for example: > > <fields> > <field name="book_title" type="string" index="true" stored="true" > required="true" /> > <field name="count" type="int" index="true" stored="true" > required="true" /> > </fields> > > Currently, I am doing a search to retrieve the current value of "count", > then doing the addition on my processing server then committing the new > "count" value. Is it possible to use a copyField or a custom field type > that would perform this addition for me so I can skip the search query? > > Thanks in advance for your time! > - Mark