Re: Deep dive on the topic() streaming expression

2016-12-13 Thread Hemant Purswani
Thanks for the explanation, Joel. I tried topic function today and it's working great. But I think it lacks something that I will be needing for my use case. Currently, it returns response in the following format. As you can see, it's not returning topicId. { "result-set": { "docs": [ { "id": "1

Re: Deep dive on the topic() streaming expression

2016-12-13 Thread Joel Bernstein
First a brief description of how the topic expression works. The topic expression allows you to subscribe to a query. Below is how it works internally. The topic expression maps to the TopicStream in the java Streaming API. So I encourage people who are interested to review this code. Under the

Deep dive on the topic() streaming expression

2016-12-13 Thread Joel Bernstein
I plan on using this thread to address questions that were posted to SOLR-4587. Below are the questions asked: 1) You mentioned that "The issue here is that it's possible that an out of order version number could persist across commits." Is the above possible even if I am using optimistic concur