PercolateResponse response =client.preparePercolate("percator",
"myType").setSource(docBuilder).execute().actionGet();
but the response get the 0 results what I am doing wrong
PercolateResponse response =client.preparePercolate("percator", "myType").setSource(docBuilder).execute().actionGet();
but the response get the 0 results what I am doing wrong
PercolateResponse response =client.preparePercolate("percator", "myType").setSource(docBuilder).execute().actionGet();
but the response get the 0 results what I am doing wrong
client.prepareIndex("_percolator", "myIndexName", "myDesignatedQueryName")
.setSource(qb)
.setRefresh(true) //Needed when the query shall be available immediately
.execute().actionGet();
IT shows error in setSource() as no suitable method found for
setSource(org.elasticsearch.index.query.QueryBuilder)
On Wed, Feb 29, 2012 at 7:19 PM, Shay Banon kimchy@gmail.com wrote:
Why do you call toString on the query builder?
On Tuesday, February 28, 2012 at 9:01 AM, jajoria abhishek wrote:
I am working with percolate . Here is what I am doing
PercolateResponse response =client.preparePercolate("percator",
"myType").setSource(docBuilder).execute().actionGet();
but the response get the 0 results what I am doing wrong
On Thursday, March 1, 2012 at 2:02 PM, jajoria abhishek wrote:
Sir with this method
client.prepareIndex("_percolator", "myIndexName", "myDesignatedQueryName")
.setSource(qb)
.setRefresh(true) //Needed when the query shall be available immediately
.execute().actionGet(); IT shows error in setSource() as no suitable method found for setSource(org.elasticsearch.index.query.QueryBuilder)
PercolateResponse response =client.preparePercolate("percator", "myType").setSource(docBuilder).execute().actionGet();
but the response get the 0 results what I am doing wrong
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.