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

Add ConcatOperation to be used with the SelectStream

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Implemented
    • Affects Version/s: None
    • Fix Version/s: 6.0
    • Component/s: None
    • Labels:
      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

              • Assignee:
                dpgove Dennis Gove
                Reporter:
                joel.bernstein Joel Bernstein
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: