Class AtomicUpdateProcessorFactory

  • All Implemented Interfaces:
    NamedListInitializedPlugin, SolrCoreAware

    public class AtomicUpdateProcessorFactory
    extends UpdateRequestProcessorFactory
    implements SolrCoreAware
    An update processor that will convert conventional field-value document to atomic update document

    sample request: curl -X POST -H Content-Type: application/json http://localhost:8983/solr/test/update/json/docs?processor=atomic;ampersand;atomic.my_newfield=add;ampersand;atomic.subject=set;ampersand;atomic.count_i=inc;ampersand;commit=true --data-binary {"id": 1,"title": "titleA"} currently supports all types of atomic updates

    Since:
    6.6.0