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

Joel Bernstein updated SOLR-9387:
---------------------------------
    Description: 
The topic expression already stores the checkpoints for a topic. This ticket 
will allow the topic to store the topic query as well as a macro to be 
performed with the topic. 

Macros will be run using Solr's builtin 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 as 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.

  was:
The topic expression already stores the checkpoints for a topic.

This ticket will allow the topic to store the topic query as well. 

Because topics are stored in a SolrCloud collection this will allow for storing 
millions of topics/queries.

The parallel function can then be used to execute the topic queries in parallel 
across a large number of workers.


> Allow topic expression to store queries and perform actions
> -----------------------------------------------------------
>
>                 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 as well as a macro to be 
> performed with the topic. 
> Macros will be run using Solr's builtin 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 as 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