Completion Suggesters using Java API

Hi
In the blog post (http://www.elasticsearch.org/blog/you-complete-me/)
introducing the Suggestions Feature in Elastic search recommends managing
suggestions in a lightweight index of its own and the idea is to use the
payload to render the key to tie it back to the source index.

I am trying to create two indexes :

  1. MyDataIndex
    2)MyDataSuggestIndex (for suggestions)

When trying to create a Suggestions Index using BulkProcessor class in Java
API, I am seeing that the suggestions are not working.
There is no documentation around suggesters using Java API.

Can someone point to examples / samples to create suggestion entries using
Java API ? I have tried looking in the archives for this group with no luck.

Any pointers / help is highly appreciated.

Thanks in advance.

Pradeep

--
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/3c6134f4-4244-486c-a08d-30e5350a51b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Please look at the Elasticsearch unit tests, here

https://github.com/elasticsearch/elasticsearch/blob/master/src/test/java/org/elasticsearch/search/suggest/CompletionSuggestSearchTests.java

Jörg

On Mon, Dec 15, 2014 at 11:44 PM, Pradeep B bpradeep.mail@gmail.com wrote:

Hi
In the blog post (http://www.elasticsearch.org/blog/you-complete-me/)
introducing the Suggestions Feature in Elastic search recommends managing
suggestions in a lightweight index of its own and the idea is to use the
payload to render the key to tie it back to the source index.

I am trying to create two indexes :

  1. MyDataIndex
    2)MyDataSuggestIndex (for suggestions)

When trying to create a Suggestions Index using BulkProcessor class in
Java API, I am seeing that the suggestions are not working.
There is no documentation around suggesters using Java API.

Can someone point to examples / samples to create suggestion entries using
Java API ? I have tried looking in the archives for this group with no luck.

Any pointers / help is highly appreciated.

Thanks in advance.

Pradeep

--
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/3c6134f4-4244-486c-a08d-30e5350a51b3%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/3c6134f4-4244-486c-a08d-30e5350a51b3%40googlegroups.com?utm_medium=email&utm_source=footer
.
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoEhR_z4hq3pztHY2DWjX_6Up-zciEihGmRujOKagiKBCw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.