[
https://issues.apache.org/jira/browse/SOLR-8556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15106857#comment-15106857
]
Joel Bernstein commented on SOLR-8556:
--------------------------------------
This ticket is important for supporting background aggregations with the
DaemonStream. Example:
{code}
daemon(parallel(update(select(concat(fields="month,day,year", delim="-",
as="id"), rollup(search())))))
{code}
The *select* above would concatenate buckets into a unique id so that each time
the parallel rollup ran the new aggregate values would update old values in the
Solr index being updated.
> Add ConcatOperation to be used with the SelectStream
> ----------------------------------------------------
>
> Key: SOLR-8556
> URL: https://issues.apache.org/jira/browse/SOLR-8556
> Project: Solr
> Issue Type: New Feature
> Reporter: Joel Bernstein
> Assignee: Joel Bernstein
> Attachments: SOLR-8556.patch
>
>
> 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:
> {code}
> update(
> select(
> rollup(search(q="*:*, fl="a,b,c", ...)),
> concat(fields="a,b,c", delim="_", as="id")))
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]