[ 
https://issues.apache.org/jira/browse/SOLR-9387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joel Bernstein resolved SOLR-9387.
----------------------------------
    Resolution: Won't Fix

Closing this for an alternative design described in SOLR-9559.

> Allow topic expression to store queries and macros
> --------------------------------------------------
>
>                 Key: SOLR-9387
>                 URL: https://issues.apache.org/jira/browse/SOLR-9387
>             Project: Solr
>          Issue Type: New Feature
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Joel Bernstein
>            Assignee: Joel Bernstein
>
> The topic expression already stores the checkpoints for a topic. This ticket 
> will allow the topic to store the topic query and a *macro* to be performed 
> with the topic. 
> Macros will be run using Solr's built-in parameter substitution:
> Sample syntax:
> {code}
> topic(collection1, q="*:*", macro="update(classify(model, ${topic}))")
> {code}
> The query and macro will be stored with the topic. Topics can be retrieved 
> and executed as part of the larger macro using Solr's built in parameter 
> substitution.
> {code}
> http://localhost:8983/solr/collection1/stream?expr=update(classify(model, 
> ${topic}))&topic=topic(collection1,....)
> {code}
> Because topics are stored in a SolrCloud collection this will allow for 
> storing millions of topics and macros.
> The parallel function can then be used to run the topics/macros in parallel 
> across a large number of workers.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to