How does percolation Notification work?


(IronMike) #1

I would like to know how others go about percolation notification. I have
couple of questions that I am not clear on.

My setup:

  • I have a webApp that talks to Index server to do searches.
  • Index through TransportClient/Java/BulkProcessor

Simple Use case: Users register for interests in webapp say "security" and
I want the users to receive alerts when new matching docs come in.
Example: I register "securityPercolator" with a REST call. The
transportClient would index new Documents and match against
"securityPercolator", it also find 10 matches against the percolator.

My Questions:
1- What is the best way to notify the webapp that there are 10 matches for
"securityPercolator" from within transportClient? Should I be doing it a
different way?
2- In the web app, if I register "securityPercolator" for users with
searching for "security, should I be storing the percolator name also?
Because how does it know that "securityPercolator" means "security"?
3- Is it a problem registering many percolators if I had 2000 users for
example?

Thanks

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/d77c90e5-f99c-4d7e-b1c9-1990012a1178%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #2