search_phase_execution_exception when using ElasticSearchPlugin
See original GitHub issueDescribe the bug When searching for products using ElasticSearch, we are getting a search_phase_execution_exception. This happens in de query that fetches the FacetValues, the query to actually fetch the products seems to work just fine.
{
"query": {
"bool": {
"filter": [
{"term":{"channelId":1}},
{"term":{"languageCode":"en"}}
]
}
},
"sort":[],
"from":0,
"size":0,
"aggs": {
"facetValue":
{"terms":{"field":"facetValueIds","size":50}}
}
}
To Reproduce Setup Vendure dev server with the ElasticSearchPlugin, populate, reindex, run a search query that requests the FacetValues:
query {
search (input: {}) {
facetValues {
facetValue {
id
}
}
}
}
Environment (please complete the following information):
- @vendure/core version: 0.16.2
- Database: sqljs and mysql (others not tested)
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:6 (5 by maintainers)
Top Results From Across the Web
search failed due to SearchPhaseExecutionException. Will ...
A detailed guide on how to resolve errors related to "search failed due to SearchPhaseExecutionException. Will attempt again with new scroll"
Read more >SearchPhaseExecutionException[Failed to execute phase ...
I checked logstash setup in debug mode and it is sending data to Elastic Search. now all my created windows report this error:...
Read more >Kibana elasticsearch plugin goes red
We are using readonlyrest Enterprise, and, sometimes, elasticsearch plugin for kibana goes to red, after several minutes goes back to green.
Read more >Oops! SearchPhaseExecutionException[Failed to execute ...
History: I have been testing ELK stack for a few months now off and on. For months now I have had it logging...
Read more >Source of ElasticsearchPlugin.scala - clowder - Bitbucket
{SearchPhaseExecutionException, SearchResponse, SearchType}. 22. import org.elasticsearch.client.transport.NoNodeAvailableException.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you very much Michael, this has indeed resolved the issue for me!
Deleting an index is something you can do via the Elasticsearch API directly: https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-delete-index.html
It is analogous to “dropping a database” in an SQL DB. I’m not familiar with AWS Elasticsearch so I don’t know if they have soe dashboard-based way of deleting.