On 6/8/2018 1:33 PM, root23 wrote:
> Can someone point to me what i am missing? i read the documentation but
> couldn't fully understand how to configure this ?

I think that this is the config you'll need:

<updateRequestProcessorChain name="lastfieldvalue">
  <processor class="solr.LastFieldValueUpdateProcessorFactory">
    <str name="fieldName">transaction_type</str>
  </processor>
  <processor class="solr.LogUpdateProcessorFactory" />
  <processor class="solr.DistributedUpdateProcessorFactory" />
  <processor class="solr.RunUpdateProcessorFactory" />
</updateRequestProcessorChain>

<requestHandler name="/update" class="solr.UpdateRequestHandler">
  <lst name="defaults">
    <str name="update.chain">lastfieldvalue</str>
  </lst>
</requestHandler>

There are a couple of different ways to make an update chain the default
instead of specifying it in the handler definition.

Thanks,
Shawn

Reply via email to