Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-8556

Add ConcatOperation to be used with the SelectStream

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Implemented
    • None
    • 6.0
    • None
    • None

    Description

      Now that we have the UpdateStream it would be nice to support the use case of sending rolled up aggregates for storage in another SolrCloud collection. To support this we'll need to create id's for the aggregate records.

      The ConcatOperation would allows us to concatenate the bucket values into a unique id. For example:

      update(
                  select( 
                               rollup(search(q="*:*, fl="a,b,c", ...)), 
                               concat(fields="a,b,c", delim="_",  as="id")))
      

      Attachments

        1. SOLR-8556.patch
          18 kB
          Dennis Gove
        2. SOLR-8556.patch
          17 kB
          Dennis Gove
        3. SOLR-8556.patch
          4 kB
          Dennis Gove
        4. SOLR-8556.patch
          4 kB
          Joel Bernstein

        Issue Links

          Activity

            People

              dpgove Dennis Gove
              jbernste Joel Bernstein
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: