You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Joel Bernstein (JIRA)" <ji...@apache.org> on 2016/02/12 03:09:18 UTC
[jira] [Updated] (SOLR-8588) Add TopicStream to the streaming API
[ https://issues.apache.org/jira/browse/SOLR-8588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joel Bernstein updated SOLR-8588:
---------------------------------
Description:
The TopicStream is a publish/subscribe messaging system built on top of SolrCloud. The TopicStream returns all *new* documents for a specific query. Version numbers will be used as checkpoints for Topics to ensure single delivery of each document. When combined with the DaemonStream (SOLR-8550), Topics can provide continuous streaming. Sample syntax:
{code}
topic(checkpointCollection, dataCollection, id="topicA", 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 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}
> 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
> Assignee: Joel Bernstein
>
> The TopicStream is a publish/subscribe messaging system built on top of SolrCloud. The TopicStream returns all *new* documents for a specific query. Version numbers will be used as checkpoints for Topics to ensure single delivery of each document. When combined with the DaemonStream (SOLR-8550), Topics can provide continuous streaming. Sample syntax:
> {code}
> topic(checkpointCollection, dataCollection, id="topicA", 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org