Equivalent of IndexRequestBuilder.setPercolate(....) in version 1.0


(Eliezer Shindler) #1

Dear All,

I am new to elasticsearch, but have been asked to update our (Java) code
from ES version 0.90 to version 1. Can anyone tell me how to do the
equivalent of builder.setPercolate(String) in version 1.0. A short example
would also be greatly appreciated. Can this be done without the percolator
API?

Thanks in advance for your help,

Eli

--
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/81178651-92ba-4121-bca9-49a9b95ea777%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Itamar Syn-Hershko) #2

It has been deprecated, you cannot percolate while indexing in version 1.

The new percolator API is documented here:
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-percolate.html

--

Itamar Syn-Hershko
http://code972.com | @synhershko https://twitter.com/synhershko
Freelance Developer & Consultant
Author of RavenDB in Action http://manning.com/synhershko/

On Thu, Apr 10, 2014 at 4:34 PM, Eliezer Shindler <eliezershindler@gmail.com

wrote:

Dear All,

I am new to elasticsearch, but have been asked to update our (Java) code
from ES version 0.90 to version 1. Can anyone tell me how to do the
equivalent of builder.setPercolate(String) in version 1.0. A short example
would also be greatly appreciated. Can this be done without the percolator
API?

Thanks in advance for your help,

Eli

--
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/81178651-92ba-4121-bca9-49a9b95ea777%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/81178651-92ba-4121-bca9-49a9b95ea777%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/CAHTr4ZttBod9S4iNe9gZ_CRTyQb50bw4h5UqBK75dT%3DkgXZReA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(Eliezer Shindler) #3

Thanks very much for confirming that..

On Thursday, 10 April 2014 14:37:07 UTC+1, Itamar Syn-Hershko wrote:

It has been deprecated, you cannot percolate while indexing in version 1.

The new percolator API is documented here:
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-percolate.html

--

Itamar Syn-Hershko
http://code972.com | @synhershko https://twitter.com/synhershko
Freelance Developer & Consultant
Author of RavenDB in Action http://manning.com/synhershko/

On Thu, Apr 10, 2014 at 4:34 PM, Eliezer Shindler <eliezer...@gmail.com<javascript:>

wrote:

Dear All,

I am new to elasticsearch, but have been asked to update our (Java) code
from ES version 0.90 to version 1. Can anyone tell me how to do the
equivalent of builder.setPercolate(String) in version 1.0. A short example
would also be greatly appreciated. Can this be done without the percolator
API?

Thanks in advance for your help,

Eli

--
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 elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/81178651-92ba-4121-bca9-49a9b95ea777%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/81178651-92ba-4121-bca9-49a9b95ea777%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/badaa311-1664-4ea0-a637-9a93ff9a3376%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #4