IMO this is document enrichment. You should do that on your side before sending 
to elasticsearch.
You can use percolator to do some classification of your docs.

That said, if your script is super simple, you could give a look at 
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-transform.html#mapping-transform

My 2 cents.

David

> Le 6 févr. 2015 à 00:52, Ap <[email protected]> a écrit :
> 
> I am trying to create a Tagging mechanism in Elastic search that checks for 
> the text in the document and if the text if found then it tags the document 
> with the corresponding text_id
> 
> Eg. Tagging for Company names, text = "Google Inc", text_id = "GOOG_123"
> 
> If a document has the text "Google Inc", then tag it with the id = "GOOG_123".
> 
> A. Insertion ?
>      - Is there a way  in Elastic Search to achieve this at the time of 
> Insertion ? 
>      - If not, is there a way to tweak the Java code in Lucene to achieve 
> this ?
> 
> B. Post processing
>     - If it is not possible to do at insertion, how can we better achieve 
> this with post processing ? Running Fuzzy or Term search ?
> 
> Thanks,
> Amay
> -- 
> 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/eb6eb29a-b3e4-4604-bf5c-e9d68b519599%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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/92552EC9-CBCE-4BEC-A6BA-BC09D0811A4B%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.

Reply via email to