Elasticsearch Java API - how to "_analyze"?


(Thami Inaflas-2) #1

Hello everyone,

I'm trying to implement this Curl request :

curl -XGET
"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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/40a66b2f-6f2c-4257-bfee-ccb52a36ec6a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #2