# SearchContextMissingException

**URL:** <https://discuss.elastic.co/t/searchcontextmissingexception/4844>\
**Category:** Elasticsearch\
**Created:** [July 13, 2011, 5:21am UTC](https://discuss.elastic.co/t/searchcontextmissingexception/4844 "2011-07-13T05:21:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![senthil\_prabhu](https://avatars.discourse-cdn.com/v4/letter/s/9e8a1a/32.png) [@senthil\_prabhu](https://discuss.elastic.co/u/senthil_prabhu)\
**Post date:** [July 13, 2011, 5:21am UTC](https://discuss.elastic.co/t/searchcontextmissingexception/4844/1 "2011-07-13T05:21:03Z")

</div>

Hi,  
i am using ES 16.0. while searching with child query and search  
type as dfs\_query\_then\_fetch.  
i have got below error.

{"took":407125,"timed\_out":false,"\_shards":{"total":6,"successful":  
2,"failed":4,"failures":[{"reason":"RemoteTransportException[[Omega  
the Unknown][inet[/10.41.23.16:9300]][search/phase/fetch/id]]; nested:  
SearchContextMissingException[No search context found for id [9998]];  
"},{"reason":"RemoteTransportException[[Ebon Seeker][inet[/  
10.41.23.19:9300]][search/phase/fetch/id]]; nested:  
SearchContextMissingException[No search context found for id [7908]];  
"},{"reason":"RemoteTransportException[[Ebon Seeker][inet[/  
10.41.23.19:9300]][search/phase/fetch/id]]; nested:  
SearchContextMissingException[No search context found for id [7909]];  
"},{"reason":"RemoteTransportException[[Sweetface][inet[/  
10.41.23.21:9300]][search/phase/fetch/id]]; nested:  
SearchContextMissingException[No search context found for id [5086]];  
"}]}

Pls help to move forword.

---

<div class="post-metadata">

**Author:** ![Jurgen\_kartnaller](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jurgen_kartnaller/32/3086_2.png) [@Jurgen\_kartnaller](https://discuss.elastic.co/u/Jurgen_kartnaller)\
**Post date:** [July 13, 2011, 5:31am UTC](https://discuss.elastic.co/t/searchcontextmissingexception/4844/2 "2011-07-13T05:31:18Z")

</div>

Just had such a problem yesterday. I could solve it by giving ES more memory  
(switch from c1.xlarge to m1.xlarge on EC2).

Jürgen

On Wed, Jul 13, 2011 at 7:21 AM, senthil prabhu [senthilsebi@gmail.com](mailto:senthilsebi@gmail.com)wrote:

> Hi,  
> i am using ES 16.0. while searching with child query and search  
> type as dfs\_query\_then\_fetch.  
> i have got below error.
> 
> {"took":407125,"timed\_out":false,"\_shards":{"total":6,"successful":  
> 2,"failed":4,"failures":[{"reason":"RemoteTransportException[[Omega  
> the Unknown][inet[/10.41.23.16:9300]][search/phase/fetch/id]]; nested:  
> SearchContextMissingException[No search context found for id [9998]];  
> "},{"reason":"RemoteTransportException[[Ebon Seeker][inet[/  
> 10.41.23.19:9300]][search/phase/fetch/id]]; nested:  
> SearchContextMissingException[No search context found for id [7908]];  
> "},{"reason":"RemoteTransportException[[Ebon Seeker][inet[/  
> 10.41.23.19:9300]][search/phase/fetch/id]]; nested:  
> SearchContextMissingException[No search context found for id [7909]];  
> "},{"reason":"RemoteTransportException[[Sweetface][inet[/  
> 10.41.23.21:9300]][search/phase/fetch/id]]; nested:  
> SearchContextMissingException[No search context found for id [5086]];  
> "}]}
> 
> Pls help to move forword.

--  
[http://www.sfgdornbirn.at](http://www.sfgdornbirn.at)  
[http://www.mcb-bregenz.at](http://www.mcb-bregenz.at)

---

<div class="post-metadata">

**Author:** ![senthil\_prabhu](https://avatars.discourse-cdn.com/v4/letter/s/9e8a1a/32.png) [@senthil\_prabhu](https://discuss.elastic.co/u/senthil_prabhu)\
**Post date:** [July 13, 2011, 5:53am UTC](https://discuss.elastic.co/t/searchcontextmissingexception/4844/3 "2011-07-13T05:53:18Z")

</div>

hi,  
can you explain me. how to increase more memory to ES. do you have  
any link for that.

On Jul 13, 10:31 am, Jürgen kartnaller [juergen.kartnal...@gmail.com](mailto:juergen.kartnal...@gmail.com)  
wrote:

> Just had such a problem yesterday. I could solve it by giving ES more memory  
> (switch from c1.xlarge to m1.xlarge on EC2).
> 
> Jürgen
> 
> On Wed, Jul 13, 2011 at 7:21 AM, senthil prabhu [senthils...@gmail.com](mailto:senthils...@gmail.com)wrote:
> 
> > Hi,  
> > i am using ES 16.0. while searching with child query and search  
> > type as dfs\_query\_then\_fetch.  
> > i have got below error.
> 
> > {"took":407125,"timed\_out":false,"\_shards":{"total":6,"successful":  
> > 2,"failed":4,"failures":[{"reason":"RemoteTransportException[[Omega  
> > the Unknown][inet[/10.41.23.16:9300]][search/phase/fetch/id]]; nested:  
> > SearchContextMissingException[No search context found for id [9998]];  
> > "},{"reason":"RemoteTransportException[[Ebon Seeker][inet[/  
> > 10.41.23.19:9300]][search/phase/fetch/id]]; nested:  
> > SearchContextMissingException[No search context found for id [7908]];  
> > "},{"reason":"RemoteTransportException[[Ebon Seeker][inet[/  
> > 10.41.23.19:9300]][search/phase/fetch/id]]; nested:  
> > SearchContextMissingException[No search context found for id [7909]];  
> > "},{"reason":"RemoteTransportException[[Sweetface][inet[/  
> > 10.41.23.21:9300]][search/phase/fetch/id]]; nested:  
> > SearchContextMissingException[No search context found for id [5086]];  
> > "}]}
> 
> > Pls help to move forword.
> 
> --[http://www.sfgdornbirn.athttp](http://www.sfgdornbirn.athttp)://www.mcb-bregenz.at

---

<div class="post-metadata">

**Author:** ![Jurgen\_kartnaller](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jurgen_kartnaller/32/3086_2.png) [@Jurgen\_kartnaller](https://discuss.elastic.co/u/Jurgen_kartnaller)\
**Post date:** [July 13, 2011, 9:59am UTC](https://discuss.elastic.co/t/searchcontextmissingexception/4844/4 "2011-07-13T09:59:34Z")

</div>

Increase ES\_MAX and ES\_MIN to whatever your need.

I'm having these settings in /etc/sysconfig/elasticsearch

On Wed, Jul 13, 2011 at 7:53 AM, senthil prabhu [senthilsebi@gmail.com](mailto:senthilsebi@gmail.com)wrote:

> hi,  
> can you explain me. how to increase more memory to ES. do you have  
> any link for that.
> 
> On Jul 13, 10:31 am, Jürgen kartnaller [juergen.kartnal...@gmail.com](mailto:juergen.kartnal...@gmail.com)  
> wrote:
> 
> > Just had such a problem yesterday. I could solve it by giving ES more  
> > memory  
> > (switch from c1.xlarge to m1.xlarge on EC2).
> > 
> > Jürgen
> > 
> > On Wed, Jul 13, 2011 at 7:21 AM, senthil prabhu \<[senthils...@gmail.com](mailto:senthils...@gmail.com)  
> > wrote:
> > 
> > > Hi,  
> > > i am using ES 16.0. while searching with child query and search  
> > > type as dfs\_query\_then\_fetch.  
> > > i have got below error.
> > 
> > > {"took":407125,"timed\_out":false,"\_shards":{"total":6,"successful":  
> > > 2,"failed":4,"failures":[{"reason":"RemoteTransportException[[Omega  
> > > the Unknown][inet[/10.41.23.16:9300]][search/phase/fetch/id]]; nested:  
> > > SearchContextMissingException[No search context found for id [9998]];  
> > > "},{"reason":"RemoteTransportException[[Ebon Seeker][inet[/  
> > > 10.41.23.19:9300]][search/phase/fetch/id]]; nested:  
> > > SearchContextMissingException[No search context found for id [7908]];  
> > > "},{"reason":"RemoteTransportException[[Ebon Seeker][inet[/  
> > > 10.41.23.19:9300]][search/phase/fetch/id]]; nested:  
> > > SearchContextMissingException[No search context found for id [7909]];  
> > > "},{"reason":"RemoteTransportException[[Sweetface][inet[/  
> > > 10.41.23.21:9300]][search/phase/fetch/id]]; nested:  
> > > SearchContextMissingException[No search context found for id [5086]];  
> > > "}]}
> > 
> > > Pls help to move forword.
> > 
> > --[http://www.sfgdornbirn.athttp](http://www.sfgdornbirn.athttp)://www.mcb-bregenz.at

--  
[http://www.sfgdornbirn.at](http://www.sfgdornbirn.at)  
[http://www.mcb-bregenz.at](http://www.mcb-bregenz.at)

---

<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, 4:00am UTC](https://discuss.elastic.co/t/searchcontextmissingexception/4844/5 "2017-07-06T04:00:50Z")

</div>


