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

Joel Bernstein updated SOLR-8588:
---------------------------------
    Description: 
Topics are similar to Alerts (SOLR-8577) in that they return only new content. 
But Topics return *all* new documents for a query, where Alerts return the top 
N results. So where Alerts are designed to notify of very specific new content, 
Topics are primarily a syndication tool.

When combined with the DaemonStream (SOLR-8550), Topics can provide continuous 
streaming. Sample syntax:

{code}
topic(checkpointCollection, dataCollection, q="awesome stuff")
{code}

The checkpoint collection will be used to persist the topic checkpoints.

Example combined with the DaemonStream:

{code}
daemon(topic(...)...)
{code}

  was:
Topics are similar to Alerts (SOLR-8577) in that they return only new content. 
But Topics return *all* new documents for a query, where Alerts return the top 
N results. So where Alerts are designed to notify of very specific new content, 
Topics are primarily a syndication tool.

When combined with DaemonStream (SOLR-8550), Topics can provide continuous 
streaming. Sample syntax:

{code}
topic(checkpointCollection, dataCollection, q="awesome stuff")
{code}

The checkpoint collection will be used to persist the topic checkpoints.

Example combined with the DaemonStream:

{code}
daemon(topic(...)...)
{code}


> Add TopicStream to the streaming API
> ------------------------------------
>
>                 Key: SOLR-8588
>                 URL: https://issues.apache.org/jira/browse/SOLR-8588
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Joel Bernstein
>
> Topics are similar to Alerts (SOLR-8577) in that they return only new 
> content. But Topics return *all* new documents for a query, where Alerts 
> return the top N results. So where Alerts are designed to notify of very 
> specific new content, Topics are primarily a syndication tool.
> When combined with the DaemonStream (SOLR-8550), Topics can provide 
> continuous streaming. Sample syntax:
> {code}
> topic(checkpointCollection, dataCollection, q="awesome stuff")
> {code}
> The checkpoint collection will be used to persist the topic checkpoints.
> Example combined with the DaemonStream:
> {code}
> daemon(topic(...)...)
> {code}



--
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