-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request failed to execute. Call: Status code 400 from: POST /post-index/_search?pretty=true&error_trace=true&typed_keys=true. ServerError: Type: search_phase_execution_exception Reason: "all shards failed" #1
Comments
($exception).DebugInformation FailureReason: BadResponse while attempting POST on http://219.142.106.137:9200/post-index/_search?pretty=true&error_trace=true&typed_keys=trueServer indicated deprecations:
Audit trail of this API call:
OriginalException: Elasticsearch.Net.ElasticsearchClientException: Request failed to execute. Call: Status code 400 from: POST /post-index/_search?pretty=true&error_trace=true&typed_keys=true. ServerError: Type: search_phase_execution_exception Reason: "all shards failed"at Elasticsearch.Net.Transport Request:{"aggs":{"my terms":{"terms":{"field":"title.keyword"}}},"query":{"match":{"title":{"query":"my query"}}},"sort":[{"title.keyword":{"order":"desc"}}]} Response:{ TCP states:Established: 33 ThreadPool statistics:Worker: Exception:Elasticsearch.Net.ElasticsearchClientException: Request failed to execute. Call: Status code 400 from: POST /post-index/_search?pretty=true&error_trace=true&typed_keys=true. ServerError: Type: search_phase_execution_exception Reason: "all shards failed" |
在 Elasticsearch.Net.Transport
1.HandleElasticsearchClientException(RequestData data, Exception clientException, IElasticsearchResponse response) 在 Elasticsearch.Net.Transport
1.FinalizeResponse[TResponse](RequestData requestData, IRequestPipeline pipeline, List1 seenExceptions, TResponse response) 在 Elasticsearch.Net.Transport
1.Request[TResponse](HttpMethod method, String path, PostData data, IRequestParameters requestParameters)在 Elasticsearch.Net.ElasticLowLevelClient.DoRequest[TResponse](HttpMethod method, String path, PostData data, IRequestParameters requestParameters)
在 Nest.ElasticClient.DoRequest[TRequest,TResponse](TRequest p, IRequestParameters parameters, Action
1 forceConfiguration) 在 Nest.ElasticClient.Search[TDocument](ISearchRequest request) 在 Nest.ElasticClient.Search[TDocument](Func
2 selector)在 Sample.ElasticSearch.ElastisSearchExtensions.Others(ElasticClient client) 在 C:\Users\Tao\Downloads\Elasticsearch-NEST-CheatSheet-Tutorials-master\Elasticsearch-NEST-CheatSheet-Tutorials-master\Sample\ElasticSearch.cs 中: 第 1796 行
在 Sample.ElasticSearch.Test() 在 C:\Users\Tao\Downloads\Elasticsearch-NEST-CheatSheet-Tutorials-master\Elasticsearch-NEST-CheatSheet-Tutorials-master\Sample\ElasticSearch.cs 中: 第 58 行
在 Sample.Program.Main(String[] args) 在 C:\Users\Tao\Downloads\Elasticsearch-NEST-CheatSheet-Tutorials-master\Elasticsearch-NEST-CheatSheet-Tutorials-master\Sample\Program.cs 中: 第 15 行
The text was updated successfully, but these errors were encountered: