No. Lucene and Solr commits replace the entire document. --wunder

On May 12, 2012, at 10:00 AM, 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




Reply via email to