Skip to content

IndexOutOfBoundsException[index (0) must be less than size (0)];  #379

@clintongormley

Description

@clintongormley

Hiya

I'm getting these IndexOutOfBoundsException[index (0) must be less than size (0)]; errors, which are kinda meaningless, on queries that work 99% of the time.

There are some errors in the logs, but they don't correspond to the times of these query errors:

Query errors:

05:38

ReduceSearchPhaseException[Failed to execute phase [fetch], [reduce] ]; nested: IndexOutOfBoundsException[index (0) must be less than size (0)]; 
With vars:
$VAR1 = {
        'request' => {
            'cmd' =>
                '/iannounce_object/anniversary,bestwish,birthday,memorial,specialday,wedding/_search?search_type=dfs_query_then_fetch',
            'data' => {
                'sort'   => [ { '_score' => 'desc' } ],
                'fields' => [],
                'from'   => 0,
                'query'  => {
                    'filtered' => {
                        'filter' => {
                            'bool' => {
                                'must' => [
                                    { 'term' => { 'source' => 'tmmi_wvle' } },
                                    { 'term' => { 'status' => 'active' } },
                                    { 'term' => { 'region' => 'tmmi' } },
                                    { 'term' => { 'parent_id' => '441895' } }
                                ]
                            }
                        },
                        'query' => {
                            'dis_max' => {
                                'queries' => [ {
                                        'query_string' => {
                                            'fields' => [ 'name' ],
                                            'boost'  => '1',
                                            'query' =>
                                                '"HUGH ANDREW DAVID KNAPP"~9'
                                        }
                                    },
                                    {   'filtered' => {
                                            'filter' => {
                                                'term' => { 'has_name' => 0 }
                                            },
                                            'query' => {
                                                'query_string' => {
                                                    'fields' =>
                                                        [ 'short_text' ],
                                                    'boost' => '1.3',
                                                    'query' =>
                                                        '"HUGH ANDREW DAVID KNAPP"~9'
                                                }
                                            }
                                        }
                                    },
                                    {   'query_string' => {
                                            'boost' => 1,
                                            'query' =>
                                                'HUGH ANDREW DAVID KNAPP'
                                        }
                                    }
                                ],
                                'tie_breaker' => '0.7'
                            }
                        }
                    }
                },
                'size' => 300
            },
            'method' => 'GET'
        },
        'status_code' => 500,
        'response'    => {
            'error' =>
                'ReduceSearchPhaseException[Failed to execute phase [fetch], [reduce] ]; nested: IndexOutOfBoundsException[index (0) must be less than size (0)]; '
        },
        'server'     => 'http://192.168.10.51:9200',
        'status_msg' => 'Internal Server Error'
    };

07:05

ReduceSearchPhaseException[Failed to execute phase [fetch], [reduce] ]; nested: IndexOutOfBoundsException[index (0) must be less than size (0)]; 
With vars:
$VAR1 = {
    'request' => {
        'cmd' => '/ia_object/notice/_search?search_type=dfs_query_then_fetch',
        'data' => {
            'sort'   => [ { '_score' => 'desc' } ],
            'fields' => [],
            'from'   => 0,
            'query'  => {
                'filtered' => {
                    'filter' => {
                        'bool' => {
                            'must' => [
                                { 'term' => { 'sub_type'    => 'obit' } },
                                { 'term' => { 'status'      => 'active' } },
                                { 'term' => { 'location_id' => '25' } }
                            ]
                        }
                    },
                    'query' => {
                        'dis_max' => {
                            'queries' => [ {
                                    'query_string' => {
                                        'fields' => [ 'name' ],
                                        'boost'  => '1',
                                        'query'  => '"Dorothy DAYLE"~7'
                                    }
                                },
                                {   'filtered' => {
                                        'filter' =>
                                            { 'term' => { 'has_name' => 0 } },
                                        'query' => {
                                            'query_string' => {
                                                'fields' => [ 'text' ],
                                                'boost'  => '1.3',
                                                'query' => '"Dorothy DAYLE"~7'
                                            }
                                        }
                                    }
                                },
                                {   'query_string' => {
                                        'boost' => 1,
                                        'query' => 'Dorothy DAYLE'
                                    }
                                }
                            ],
                            'tie_breaker' => '0.7'
                        }
                    }
                }
            },
            'size' => 300
        },
        'method' => 'GET'
    },
    'status_code' => 500,
    'response'    => {
        'error' =>
            'ReduceSearchPhaseException[Failed to execute phase [fetch], [reduce] ]; nested: IndexOutOfBoundsException[index (0) must be less than size (0)]; '
    },
    'server'     => 'http://192.168.10.51:9200',
    'status_msg' => 'Internal Server Error'
};

Errors in non-master:

[18:30:50,391][WARN ][monitor.jvm              ] [Uncle Ben Parker] Long GC collection occurred, took [12.5s], breached threshold [10s]
[23:07:16,048][WARN ][monitor.jvm              ] [Uncle Ben Parker] Long GC collection occurred, took [10.3s], breached threshold [10s]

Errors in master:

[05:14:32,291][DEBUG][action.search.type       ] [Rock] [4845938] Failed to execute fetch phase
org.elasticsearch.transport.RemoteTransportException: [Uncle Ben Parker][inet[/192.168.10.50:9300]][search/phase/fetch/id]
Caused by: org.elasticsearch.search.SearchContextMissingException: No search context found for id [4845938], timed out
        at org.elasticsearch.search.SearchService.findContext(SearchService.java:279)
        at org.elasticsearch.search.SearchService.executeFetchPhase(SearchService.java:262)
        at org.elasticsearch.search.action.SearchServiceTransportAction$SearchFetchByIdTransportHandler.messageReceived(SearchServiceTransportAction.java:444)
        at org.elasticsearch.search.action.SearchServiceTransportAction$SearchFetchByIdTransportHandler.messageReceived(SearchServiceTransportAction.java:435)
        at org.elasticsearch.transport.netty.MessageChannelHandler$3.run(MessageChannelHandler.java:195)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
[05:14:32,293][DEBUG][action.search.type       ] [Rock] [4845936] Failed to execute fetch phase
org.elasticsearch.transport.RemoteTransportException: [Uncle Ben Parker][inet[/192.168.10.50:9300]][search/phase/fetch/id]
Caused by: org.elasticsearch.search.SearchContextMissingException: No search context found for id [4845936], timed out
        at org.elasticsearch.search.SearchService.findContext(SearchService.java:279)
        at org.elasticsearch.search.SearchService.executeFetchPhase(SearchService.java:262)
        at org.elasticsearch.search.action.SearchServiceTransportAction$SearchFetchByIdTransportHandler.messageReceived(SearchServiceTransportAction.java:444)
        at org.elasticsearch.search.action.SearchServiceTransportAction$SearchFetchByIdTransportHandler.messageReceived(SearchServiceTransportAction.java:435)
        at org.elasticsearch.transport.netty.MessageChannelHandler$3.run(MessageChannelHandler.java:195)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)



[05:29:08,976][DEBUG][action.search.type       ] [Rock] [2444873] Failed to execute query phase
org.elasticsearch.search.query.QueryPhaseExecutionException: [ia_object_1283933184][4]: query[filtered(+_all:margaret +_all:jordan)->FilterCacheFilterWrapper(BooleanFilter( +FilterCacheFilterWrapper(publish_date:[1284422400000 TO *]) +FilterCacheFilterWrapper(org.elasticsearch.common.lucene.search.TermFilter@3a1bb115) +FilterCacheFilterWrapper(location_id:[23 TO 23])))],from[0],size[300],sort[<score>]: Query Failed [Failed to execute main query]
        at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:130)
        at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:198)
        at org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteQuery(SearchServiceTransportAction.java:159)
        at org.elasticsearch.action.search.type.TransportSearchDfsQueryThenFetchAction$AsyncAction.executeQuery(TransportSearchDfsQueryThenFetchAction.java:141)
        at org.elasticsearch.action.search.type.TransportSearchDfsQueryThenFetchAction$AsyncAction.access$200(TransportSearchDfsQueryThenFetchAction.java:64)
        at org.elasticsearch.action.search.type.TransportSearchDfsQueryThenFetchAction$AsyncAction$1.run(TransportSearchDfsQueryThenFetchAction.java:114)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.IllegalArgumentException: df for term margaret not available
        at org.elasticsearch.search.dfs.CachedDfSource.docFreq(CachedDfSource.java:51)
        at org.apache.lucene.search.Similarity.idfExplain(Similarity.java:769)
        at org.apache.lucene.search.spans.SpanWeight.<init>(SpanWeight.java:51)
        at org.elasticsearch.common.lucene.all.AllTermQuery$AllTermWeight.<init>(AllTermQuery.java:61)
        at org.elasticsearch.common.lucene.all.AllTermQuery.createWeight(AllTermQuery.java:55)
        at org.apache.lucene.search.BooleanQuery$BooleanWeight.<init>(BooleanQuery.java:188)
        at org.apache.lucene.search.BooleanQuery.createWeight(BooleanQuery.java:362)
        at org.apache.lucene.search.FilteredQuery.createWeight(FilteredQuery.java:63)
        at org.apache.lucene.search.FilteredQuery.createWeight(FilteredQuery.java:63)
        at org.apache.lucene.search.Query.weight(Query.java:101)
        at org.elasticsearch.search.internal.ContextIndexSearcher.createWeight(ContextIndexSearcher.java:100)
        at org.apache.lucene.search.Searcher.search(Searcher.java:98)
        at org.apache.lucene.search.Searcher.search(Searcher.java:108)
        at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:126)
        ... 8 more
[05:29:08,976][DEBUG][action.search.type       ] [Rock] [2444873] Failed to execute fetch phase
org.elasticsearch.search.SearchContextMissingException: No search context found for id [2444873], timed out
        at org.elasticsearch.search.SearchService.findContext(SearchService.java:279)
        at org.elasticsearch.search.SearchService.executeFetchPhase(SearchService.java:262)
        at org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteFetch(SearchServiceTransportAction.java:309)
        at org.elasticsearch.action.search.type.TransportSearchDfsQueryThenFetchAction$AsyncAction.executeFetch(TransportSearchDfsQueryThenFetchAction.java:226)
        at org.elasticsearch.action.search.type.TransportSearchDfsQueryThenFetchAction$AsyncAction.access$700(TransportSearchDfsQueryThenFetchAction.java:64)
        at org.elasticsearch.action.search.type.TransportSearchDfsQueryThenFetchAction$AsyncAction$4.run(TransportSearchDfsQueryThenFetchAction.java:199)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
[05:29:08,983][DEBUG][action.search.type       ] [Rock] [2444874] Failed to execute query phase
org.elasticsearch.search.SearchContextMissingException: No search context found for id [2444874], timed out
        at org.elasticsearch.search.SearchService.findContext(SearchService.java:279)
        at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:190)
        at org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteQuery(SearchServiceTransportAction.java:159)
        at org.elasticsearch.action.search.type.TransportSearchDfsQueryThenFetchAction$AsyncAction.executeQuery(TransportSearchDfsQueryThenFetchAction.java:141)
        at org.elasticsearch.action.search.type.TransportSearchDfsQueryThenFetchAction$AsyncAction.access$200(TransportSearchDfsQueryThenFetchAction.java:64)
        at org.elasticsearch.action.search.type.TransportSearchDfsQueryThenFetchAction$AsyncAction$1.run(TransportSearchDfsQueryThenFetchAction.java:114)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
[05:29:31,785][DEBUG][action.search.type       ] [Rock] [2445049] Failed to execute query phase
org.elasticsearch.search.query.QueryPhaseExecutionException: [ia_object_1283933184][3]: query[filtered((name:"roy light"~7 | filtered(text:"roy light"~7^1.3)->FilterCacheFilterWrapper(org.elasticsearch.common.lucene.search.TermFilter@3e3f4f7) | (_all:roy _all:light))~0.7)->FilterCacheFilterWrapper(BooleanFilter( +FilterCacheFilterWrapper(org.elasticsearch.common.lucene.search.TermFilter@fdb5bf46) +FilterCacheFilterWrapper(org.elasticsearch.common.lucene.search.TermFilter@3a1bb115) +FilterCacheFilterWrapper(location_id:[30 TO 30])))],from[0],size[300],sort[<score>]: Query Failed [Failed to execute main query]
        at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:130)
        at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:198)
        at org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteQuery(SearchServiceTransportAction.java:159)
        at org.elasticsearch.action.search.type.TransportSearchDfsQueryThenFetchAction$AsyncAction.executeQuery(TransportSearchDfsQueryThenFetchAction.java:141)
        at org.elasticsearch.action.search.type.TransportSearchDfsQueryThenFetchAction$AsyncAction.access$200(TransportSearchDfsQueryThenFetchAction.java:64)
        at org.elasticsearch.action.search.type.TransportSearchDfsQueryThenFetchAction$AsyncAction$1.run(TransportSearchDfsQueryThenFetchAction.java:114)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.IllegalArgumentException: df for term roy not available
        at org.elasticsearch.search.dfs.CachedDfSource.docFreq(CachedDfSource.java:51)
        at org.apache.lucene.search.Similarity.idfExplain(Similarity.java:769)
        at org.apache.lucene.search.PhraseQuery$PhraseWeight.<init>(PhraseQuery.java:122)
        at org.apache.lucene.search.PhraseQuery.createWeight(PhraseQuery.java:264)
        at org.apache.lucene.search.DisjunctionMaxQuery$DisjunctionMaxWeight.<init>(DisjunctionMaxQuery.java:107)
        at org.apache.lucene.search.DisjunctionMaxQuery.createWeight(DisjunctionMaxQuery.java:184)
        at org.apache.lucene.search.FilteredQuery.createWeight(FilteredQuery.java:63)
        at org.apache.lucene.search.FilteredQuery.createWeight(FilteredQuery.java:63)
        at org.apache.lucene.search.Query.weight(Query.java:101)
        at org.elasticsearch.search.internal.ContextIndexSearcher.createWeight(ContextIndexSearcher.java:100)
        at org.apache.lucene.search.Searcher.search(Searcher.java:98)
        at org.apache.lucene.search.Searcher.search(Searcher.java:108)
        at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:126)
        ... 8 more
[05:29:31,786][DEBUG][action.search.type       ] [Rock] [2445050] Failed to execute query phase
org.elasticsearch.search.query.QueryPhaseExecutionException: [ia_object_1283933184][0]: query[filtered((name:"roy light"~7 | filtered(text:"roy light"~7^1.3)->FilterCacheFilterWrapper(org.elasticsearch.common.lucene.search.TermFilter@3e3f4f7) | (_all:roy _all:light))~0.7)->FilterCacheFilterWrapper(BooleanFilter( +FilterCacheFilterWrapper(org.elasticsearch.common.lucene.search.TermFilter@fdb5bf46) +FilterCacheFilterWrapper(org.elasticsearch.common.lucene.search.TermFilter@3a1bb115) +FilterCacheFilterWrapper(location_id:[30 TO 30])))],from[0],size[300],sort[<score>]: Query Failed [Failed to execute main query]
        at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:130)
        at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:198)
        at org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteQuery(SearchServiceTransportAction.java:159)
        at org.elasticsearch.action.search.type.TransportSearchDfsQueryThenFetchAction$AsyncAction.executeQuery(TransportSearchDfsQueryThenFetchAction.java:141)
        at org.elasticsearch.action.search.type.TransportSearchDfsQueryThenFetchAction$AsyncAction.access$200(TransportSearchDfsQueryThenFetchAction.java:64)
        at org.elasticsearch.action.search.type.TransportSearchDfsQueryThenFetchAction$AsyncAction$1.run(TransportSearchDfsQueryThenFetchAction.java:114)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.IllegalArgumentException: df for term roy not available
        at org.elasticsearch.search.dfs.CachedDfSource.docFreq(CachedDfSource.java:51)
        at org.apache.lucene.search.Similarity.idfExplain(Similarity.java:769)
        at org.apache.lucene.search.PhraseQuery$PhraseWeight.<init>(PhraseQuery.java:122)
        at org.apache.lucene.search.PhraseQuery.createWeight(PhraseQuery.java:264)
        at org.apache.lucene.search.DisjunctionMaxQuery$DisjunctionMaxWeight.<init>(DisjunctionMaxQuery.java:107)
        at org.apache.lucene.search.DisjunctionMaxQuery.createWeight(DisjunctionMaxQuery.java:184)
        at org.apache.lucene.search.FilteredQuery.createWeight(FilteredQuery.java:63)
        at org.apache.lucene.search.FilteredQuery.createWeight(FilteredQuery.java:63)
        at org.apache.lucene.search.Query.weight(Query.java:101)
        at org.elasticsearch.search.internal.ContextIndexSearcher.createWeight(ContextIndexSearcher.java:100)
        at org.apache.lucene.search.Searcher.search(Searcher.java:98)
        at org.apache.lucene.search.Searcher.search(Searcher.java:108)
        at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:126)
        ... 8 more
[05:29:31,804][DEBUG][action.search.type       ] [Rock] [2445050] Failed to execute query phase
org.elasticsearch.search.SearchContextMissingException: No search context found for id [2445050], timed out
        at org.elasticsearch.search.SearchService.findContext(SearchService.java:279)
        at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:190)
        at org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteQuery(SearchServiceTransportAction.java:159)
        at org.elasticsearch.action.search.type.TransportSearchDfsQueryThenFetchAction$AsyncAction.executeQuery(TransportSearchDfsQueryThenFetchAction.java:141)
        at org.elasticsearch.action.search.type.TransportSearchDfsQueryThenFetchAction$AsyncAction.access$200(TransportSearchDfsQueryThenFetchAction.java:64)
        at org.elasticsearch.action.search.type.TransportSearchDfsQueryThenFetchAction$AsyncAction$1.run(TransportSearchDfsQueryThenFetchAction.java:114)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
[05:29:31,880][DEBUG][action.search.type       ] [Rock] [2445049] Failed to execute fetch phase
org.elasticsearch.search.SearchContextMissingException: No search context found for id [2445049], timed out
        at org.elasticsearch.search.SearchService.findContext(SearchService.java:279)
        at org.elasticsearch.search.SearchService.executeFetchPhase(SearchService.java:262)
        at org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteFetch(SearchServiceTransportAction.java:309)
        at org.elasticsearch.action.search.type.TransportSearchDfsQueryThenFetchAction$AsyncAction.executeFetch(TransportSearchDfsQueryThenFetchAction.java:226)
        at org.elasticsearch.action.search.type.TransportSearchDfsQueryThenFetchAction$AsyncAction.access$700(TransportSearchDfsQueryThenFetchAction.java:64)
        at org.elasticsearch.action.search.type.TransportSearchDfsQueryThenFetchAction$AsyncAction$4.run(TransportSearchDfsQueryThenFetchAction.java:199)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)






[06:51:44,352][DEBUG][action.search.type       ] [Rock] [2488219] Failed to execute query phase
org.elasticsearch.search.query.QueryPhaseExecutionException: [iannounce_object_1283872186][0]: query[filtered(+_all:amy +_all:hotson)->FilterCacheFilterWrapper(BooleanFilter( +FilterCacheFilterWrapper(org.elasti
csearch.common.lucene.search.TermFilter@3d4c17e4) +FilterCacheFilterWrapper(org.elasticsearch.common.lucene.search.TermFilter@3d3f2f85) +FilterCacheFilterWrapper(org.elasticsearch.common.lucene.search.TermFilter
@3a1bb115) +FilterCacheFilterWrapper(org.elasticsearch.common.lucene.search.TermFilter@40ea8da2) +FilterCacheFilterWrapper(parent_id:[1 TO 1])))],from[0],size[300],sort[<score>]: Query Failed [Failed to execute 
main query]
        at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:130)
        at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:198)
        at org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteQuery(SearchServiceTransportAction.java:159)
        at org.elasticsearch.action.search.type.TransportSearchDfsQueryThenFetchAction$AsyncAction.executeQuery(TransportSearchDfsQueryThenFetchAction.java:141)
        at org.elasticsearch.action.search.type.TransportSearchDfsQueryThenFetchAction$AsyncAction.access$200(TransportSearchDfsQueryThenFetchAction.java:64)
        at org.elasticsearch.action.search.type.TransportSearchDfsQueryThenFetchAction$AsyncAction$1.run(TransportSearchDfsQueryThenFetchAction.java:114)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.IllegalArgumentException: df for term amy not available
        at org.elasticsearch.search.dfs.CachedDfSource.docFreq(CachedDfSource.java:51)
        at org.apache.lucene.search.Similarity.idfExplain(Similarity.java:769)
        at org.apache.lucene.search.spans.SpanWeight.<init>(SpanWeight.java:51)
        at org.elasticsearch.common.lucene.all.AllTermQuery$AllTermWeight.<init>(AllTermQuery.java:61)
        at org.elasticsearch.common.lucene.all.AllTermQuery.createWeight(AllTermQuery.java:55)
        at org.apache.lucene.search.BooleanQuery$BooleanWeight.<init>(BooleanQuery.java:188)
        at org.apache.lucene.search.BooleanQuery.createWeight(BooleanQuery.java:362)
        at org.apache.lucene.search.FilteredQuery.createWeight(FilteredQuery.java:63)
        at org.apache.lucene.search.FilteredQuery.createWeight(FilteredQuery.java:63)
        at org.apache.lucene.search.Query.weight(Query.java:101)
        at org.elasticsearch.search.internal.ContextIndexSearcher.createWeight(ContextIndexSearcher.java:100)
        at org.apache.lucene.search.Searcher.search(Searcher.java:98)
        at org.apache.lucene.search.Searcher.search(Searcher.java:108)
        at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:126)
        ... 8 more
[06:51:44,353][DEBUG][action.search.type       ] [Rock] [2488220] Failed to execute query phase
org.elasticsearch.search.query.QueryPhaseExecutionException: [iannounce_object_1283872186][2]: query[filtered(+_all:amy +_all:hotson)->FilterCacheFilterWrapper(BooleanFilter( +FilterCacheFilterWrapper(org.elasti
csearch.common.lucene.search.TermFilter@3d4c17e4) +FilterCacheFilterWrapper(org.elasticsearch.common.lucene.search.TermFilter@3d3f2f85) +FilterCacheFilterWrapper(org.elasticsearch.common.lucene.search.TermFilter
@3a1bb115) +FilterCacheFilterWrapper(org.elasticsearch.common.lucene.search.TermFilter@40ea8da2) +FilterCacheFilterWrapper(parent_id:[1 TO 1])))],from[0],size[300],sort[<score>]: Query Failed [Failed to execute 
main query]
        at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:130)
        at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:198)
        at org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteQuery(SearchServiceTransportAction.java:159)
        at org.elasticsearch.action.search.type.TransportSearchDfsQueryThenFetchAction$AsyncAction.executeQuery(TransportSearchDfsQueryThenFetchAction.java:141)
        at org.elasticsearch.action.search.type.TransportSearchDfsQueryThenFetchAction$AsyncAction.access$200(TransportSearchDfsQueryThenFetchAction.java:64)
        at org.elasticsearch.action.search.type.TransportSearchDfsQueryThenFetchAction$AsyncAction$1.run(TransportSearchDfsQueryThenFetchAction.java:114)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.IllegalArgumentException: df for term amy not available
        at org.elasticsearch.search.dfs.CachedDfSource.docFreq(CachedDfSource.java:51)
        at org.apache.lucene.search.Similarity.idfExplain(Similarity.java:769)
        at org.apache.lucene.search.spans.SpanWeight.<init>(SpanWeight.java:51)
        at org.elasticsearch.common.lucene.all.AllTermQuery$AllTermWeight.<init>(AllTermQuery.java:61)
        at org.elasticsearch.common.lucene.all.AllTermQuery.createWeight(AllTermQuery.java:55)
        at org.apache.lucene.search.BooleanQuery$BooleanWeight.<init>(BooleanQuery.java:188)
        at org.apache.lucene.search.BooleanQuery.createWeight(BooleanQuery.java:362)
        at org.apache.lucene.search.FilteredQuery.createWeight(FilteredQuery.java:63)
        at org.apache.lucene.search.FilteredQuery.createWeight(FilteredQuery.java:63)
        at org.apache.lucene.search.Query.weight(Query.java:101)
        at org.elasticsearch.search.internal.ContextIndexSearcher.createWeight(ContextIndexSearcher.java:100)
        at org.apache.lucene.search.Searcher.search(Searcher.java:98)
        at org.apache.lucene.search.Searcher.search(Searcher.java:108)
        at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:126)
        ... 8 more
[06:51:44,353][DEBUG][action.search.type       ] [Rock] [2488219] Failed to execute query phase
org.elasticsearch.search.SearchContextMissingException: No search context found for id [2488219], timed out
        at org.elasticsearch.search.SearchService.findContext(SearchService.java:279)
        at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:190)
        at org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteQuery(SearchServiceTransportAction.java:159)
        at org.elasticsearch.action.search.type.TransportSearchDfsQueryThenFetchAction$AsyncAction.executeQuery(TransportSearchDfsQueryThenFetchAction.java:141)
        at org.elasticsearch.action.search.type.TransportSearchDfsQueryThenFetchAction$AsyncAction.access$200(TransportSearchDfsQueryThenFetchAction.java:64)
        at org.elasticsearch.action.search.type.TransportSearchDfsQueryThenFetchAction$AsyncAction$1.run(TransportSearchDfsQueryThenFetchAction.java:114)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
[06:51:44,354][DEBUG][action.search.type       ] [Rock] [2488220] Failed to execute query phase
org.elasticsearch.search.SearchContextMissingException: No search context found for id [2488220], timed out
        at org.elasticsearch.search.SearchService.findContext(SearchService.java:279)
        at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:190)
        at org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteQuery(SearchServiceTransportAction.java:159)
        at org.elasticsearch.action.search.type.TransportSearchDfsQueryThenFetchAction$AsyncAction.executeQuery(TransportSearchDfsQueryThenFetchAction.java:141)
        at org.elasticsearch.action.search.type.TransportSearchDfsQueryThenFetchAction$AsyncAction.access$200(TransportSearchDfsQueryThenFetchAction.java:64)
        at org.elasticsearch.action.search.type.TransportSearchDfsQueryThenFetchAction$AsyncAction$1.run(TransportSearchDfsQueryThenFetchAction.java:114)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions