# Inserting query into percolator - long delay getting response

**URL:** <https://discuss.elastic.co/t/inserting-query-into-percolator-long-delay-getting-response/15971>\
**Category:** Elasticsearch\
**Created:** [February 22, 2014, 9:31pm UTC](https://discuss.elastic.co/t/inserting-query-into-percolator-long-delay-getting-response/15971 "2014-02-22T21:31:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matt\_Price](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matt_price/32/1789_2.png) [@Matt\_Price](https://discuss.elastic.co/u/Matt_Price)\
**Post date:** [February 22, 2014, 9:31pm UTC](https://discuss.elastic.co/t/inserting-query-into-percolator-long-delay-getting-response/15971/1 "2014-02-22T21:31:32Z")

</div>

Hi,

Today we starting noticing that we have a long response delay from ES when  
inserting a single query into a percolator.

Details:  
Using ES 1.0.0  
Using Java client library (transport client)  
About 5 queries in this percolator

The delay is ~8 seconds long and the environment is relatively stress free.  
Has anyone encountered this issue before or have any suggestions on  
improving the insert time for a query?

Note that we are not seeing this behavior with bulk indexing, etc. so the  
problem seems to be just confined to the percolator itself.

Thanks,  
Matt

--  
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/ec2fdb62-2535-4e80-9f74-1c70cd45994a%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ec2fdb62-2535-4e80-9f74-1c70cd45994a%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Matt\_Price](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matt_price/32/1789_2.png) [@Matt\_Price](https://discuss.elastic.co/u/Matt_Price)\
**Post date:** [February 22, 2014, 9:34pm UTC](https://discuss.elastic.co/t/inserting-query-into-percolator-long-delay-getting-response/15971/2 "2014-02-22T21:34:58Z")

</div>

Sorry a few other details:  
Settings for index that holds percolator:  
{  
"rules" : {  
"settings" : {  
"index" : {  
"codec" : {  
"bloom" : {  
"load" : "false"  
}  
},  
"uuid" : "\_Flxtpi9R8C3wiCe3O04kA",  
"number\_of\_replicas" : "9",  
"number\_of\_shards" : "1",  
"version" : {  
"created" : "1000099"  
}  
}  
}  
}  
}

where we have 10 nodes serving as our data nodes

On Saturday, February 22, 2014 4:31:32 PM UTC-5, Matt Price wrote:

> Hi,
> 
> Today we starting noticing that we have a long response delay from ES when  
> inserting a single query into a percolator.
> 
> Details:  
> Using ES 1.0.0  
> Using Java client library (transport client)  
> About 5 queries in this percolator
> 
> The delay is ~8 seconds long and the environment is relatively stress  
> free. Has anyone encountered this issue before or have any suggestions on  
> improving the insert time for a query?
> 
> Note that we are not seeing this behavior with bulk indexing, etc. so the  
> problem seems to be just confined to the percolator itself.
> 
> Thanks,  
> Matt

--  
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/88af95e5-7ddf-4818-8f9f-4bfe83ff4643%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/88af95e5-7ddf-4818-8f9f-4bfe83ff4643%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [February 24, 2014, 3:00pm UTC](https://discuss.elastic.co/t/inserting-query-into-percolator-long-delay-getting-response/15971/3 "2014-02-24T15:00:54Z")

</div>

Hey,

can you show mapping/setting of that index? How do you insert the data (can  
you show the code)? Can you set debug log level on the elasticsearch nodes?  
Does this also happen on a one node cluster (as a test)?

--Alex

On Sat, Feb 22, 2014 at 10:34 PM, Matt Price [mattprice11@gmail.com](mailto:mattprice11@gmail.com) wrote:

> Sorry a few other details:  
> Settings for index that holds percolator:  
> {  
> "rules" : {  
> "settings" : {  
> "index" : {  
> "codec" : {  
> "bloom" : {  
> "load" : "false"  
> }  
> },  
> "uuid" : "\_Flxtpi9R8C3wiCe3O04kA",  
> "number\_of\_replicas" : "9",  
> "number\_of\_shards" : "1",  
> "version" : {  
> "created" : "1000099"  
> }  
> }  
> }  
> }  
> }
> 
> where we have 10 nodes serving as our data nodes
> 
> On Saturday, February 22, 2014 4:31:32 PM UTC-5, Matt Price wrote:
> 
> > Hi,
> > 
> > Today we starting noticing that we have a long response delay from ES  
> > when inserting a single query into a percolator.
> > 
> > Details:  
> > Using ES 1.0.0  
> > Using Java client library (transport client)  
> > About 5 queries in this percolator
> > 
> > The delay is ~8 seconds long and the environment is relatively stress  
> > free. Has anyone encountered this issue before or have any suggestions on  
> > improving the insert time for a query?
> > 
> > Note that we are not seeing this behavior with bulk indexing, etc. so the  
> > problem seems to be just confined to the percolator itself.
> > 
> > Thanks,  
> > Matt
> 
> --  
> 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/88af95e5-7ddf-4818-8f9f-4bfe83ff4643%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/88af95e5-7ddf-4818-8f9f-4bfe83ff4643%40googlegroups.com)  
> .
> 
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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/CAGCwEM8GJBOi0Py7u%2BNys9KXGTix\_hN5rJzHt%2B1zs%3Dj2v0qcjw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAGCwEM8GJBOi0Py7u%2BNys9KXGTix_hN5rJzHt%2B1zs%3Dj2v0qcjw%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:47am UTC](https://discuss.elastic.co/t/inserting-query-into-percolator-long-delay-getting-response/15971/4 "2017-07-06T01:47:46Z")

</div>


