# Elasticsearch Java API - how to "\_analyze"?

**URL:** <https://discuss.elastic.co/t/elasticsearch-java-api-how-to--analyze/17592>\
**Category:** Elasticsearch\
**Created:** [May 19, 2014, 3:12pm UTC](https://discuss.elastic.co/t/elasticsearch-java-api-how-to--analyze/17592 "2014-05-19T15:12:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thami\_Inaflas\_2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thami_inaflas_2/32/969_2.png) [@Thami\_Inaflas\_2](https://discuss.elastic.co/u/Thami_Inaflas_2)\
**Post date:** [May 19, 2014, 3:12pm UTC](https://discuss.elastic.co/t/elasticsearch-java-api-how-to--analyze/17592/1 "2014-05-19T15:12:01Z")

</div>

Hello everyone,

I'm trying to implement this Curl request :

curl -XGET  
"[http://xxxxxxxxx:9200/myindex/\_analyze?analyzer=my\_analyzer&text=](http://xxxxxxxxx:9200/myindex/_analyze?analyzer=my_analyzer&text=)"Un  
logiciel qui n'est pas téléchargé n'importe où""

into my Java program using Elasticsearch Java API. I'm not sure how ?  
Note : I m using the current version of Elasticsearch (1.1.1), and the  
analyzer "my\_analyzer" has been added to "myindex" after it has been  
indexed with th standard analyzer.

Thanks in advance for your help.  
If my question lacks some details or is unclear please let me know.

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/40a66b2f-6f2c-4257-bfee-ccb52a36ec6a%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/40a66b2f-6f2c-4257-bfee-ccb52a36ec6a%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:28am UTC](https://discuss.elastic.co/t/elasticsearch-java-api-how-to--analyze/17592/2 "2017-07-06T01:28:27Z")

</div>


