Joel Bernstein created SOLR-8577:
------------------------------------

             Summary: Add AlertStream and ModelStream to the Streaming API
                 Key: SOLR-8577
                 URL: https://issues.apache.org/jira/browse/SOLR-8577
             Project: Solr
          Issue Type: New Feature
            Reporter: Joel Bernstein


The AlertStream will return the top N "new" documents for a query from a 
SolrCloud collection. The AlertStream will track the highest version numbers 
from each shard and use these as checkpoints to determine new content.

The DaemonStream (SOLR-8550) can be used to create "live" alerts that run at 
intervals. Sample syntax:

{code}
daemon(alert(collection1, q="hello") runInterval="2000")
{code}

The DaemonStream can be installed in a SolrCloud worker node where it can llive 
and send out alerts.

The *AlertStream* will also accept an optional *ModelStream* which will apply a 
machine learning model to the alert. For example:

alert(collection1, q="hello", model(collection2, id="model1"))

The ModelStream will return a machine learning model saved in a SolrCloud 
collection. Function queries for different model types will be developed so the 
models can be applied in the re-ranker or as a sort.




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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to