Hi Amit, I am trying to do something similar. Did you find a solution to run the sentiment analysis at Insertion?
I posted my question here few mins back: https://groups.google.com/forum/#!topic/elasticsearch/Nx3YlftE1sI Amay On Saturday, December 7, 2013 at 11:01:16 AM UTC-8, Amit Gupta wrote: > > It seems like a pretty easy question, but for some reason I still can't > understand how to solve the same. I have an elastic search cluster which is > using twitter river to download tweets. I would like to implement a > sentiment analysis module which takes each tweet and computes a score > (+ve/-ve) etc. I would like the score to be computed for each of the > existing tweets as well as for new tweets and then visualize using Kibana. > > However, I am not sure where should I place the call to this sentiment > analysis module in the elastic search pipeline. > > I have considered the option of modifying twitter river plugin but that > will not work retrospectively. > > Essentially, I need to answer two questions :- 1) how to call python/java > code while indexing a document so that I can modify the json accordingly. > 2) how to use the same code to modify all the existing documents in ES. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/b697fea7-b034-4226-9d00-24b0412e96d0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
