<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Atomic update of Solr document via morphlineSolrSink possible ? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atomic-update-of-Solr-document-via-morphlineSolrSink/m-p/905#M160</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;is it possible to configure the morphline.conf, so that the loadSolr command can perform an atomic update of a field in the document ?&lt;/P&gt;&lt;P&gt;Why ?&lt;/P&gt;&lt;P&gt;I want to do something like:&lt;/P&gt;&lt;P&gt;- logfile analysis via flume using the morphlineSolrSink to store the output in a Solr doc&lt;/P&gt;&lt;P&gt;- apply some grok regex patterns in the morphline&lt;/P&gt;&lt;P&gt;- if match, then create a field with the fieldname consisting of user-id+request and the value should be the count of how often this user fired that request, thereby just increment this value on any matched morphline pipeline.&lt;/P&gt;&lt;P&gt;- afterwards the document is stored in Solr with the created field as unique identifier&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I assume the loadSolr command implicitly calls an update on the solr server and since Solr support atomic update to e.g. increment a counter, it would be great to be able to use this feature inside a morphlineSolrSink.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any help appreciated....Gerd....&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 08:47:13 GMT</pubDate>
    <dc:creator>geko</dc:creator>
    <dc:date>2022-09-16T08:47:13Z</dc:date>
    <item>
      <title>Atomic update of Solr document via morphlineSolrSink possible ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atomic-update-of-Solr-document-via-morphlineSolrSink/m-p/905#M160</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;is it possible to configure the morphline.conf, so that the loadSolr command can perform an atomic update of a field in the document ?&lt;/P&gt;&lt;P&gt;Why ?&lt;/P&gt;&lt;P&gt;I want to do something like:&lt;/P&gt;&lt;P&gt;- logfile analysis via flume using the morphlineSolrSink to store the output in a Solr doc&lt;/P&gt;&lt;P&gt;- apply some grok regex patterns in the morphline&lt;/P&gt;&lt;P&gt;- if match, then create a field with the fieldname consisting of user-id+request and the value should be the count of how often this user fired that request, thereby just increment this value on any matched morphline pipeline.&lt;/P&gt;&lt;P&gt;- afterwards the document is stored in Solr with the created field as unique identifier&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I assume the loadSolr command implicitly calls an update on the solr server and since Solr support atomic update to e.g. increment a counter, it would be great to be able to use this feature inside a morphlineSolrSink.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any help appreciated....Gerd....&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 08:47:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atomic-update-of-Solr-document-via-morphlineSolrSink/m-p/905#M160</guid>
      <dc:creator>geko</dc:creator>
      <dc:date>2022-09-16T08:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Atomic update of Solr document via morphlineSolrSink possible ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atomic-update-of-Solr-document-via-morphlineSolrSink/m-p/949#M161</link>
      <description>&lt;P&gt;&lt;SPAN&gt;The loadSolr command doesn't support atomic updates, but you could write a custom morphline command that implements something like this.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2013 22:09:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atomic-update-of-Solr-document-via-morphlineSolrSink/m-p/949#M161</guid>
      <dc:creator>whosch</dc:creator>
      <dc:date>2013-08-23T22:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Atomic update of Solr document via morphlineSolrSink possible ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atomic-update-of-Solr-document-via-morphlineSolrSink/m-p/963#M162</link>
      <description>&lt;P&gt;ah, ok. Interesting topic, seems like I have to check this out.....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards.....Gerd....&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2013 06:40:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atomic-update-of-Solr-document-via-morphlineSolrSink/m-p/963#M162</guid>
      <dc:creator>geko</dc:creator>
      <dc:date>2013-08-26T06:40:43Z</dc:date>
    </item>
  </channel>
</rss>

