Debugging error when using suggest in elastic search

Invalid NEST response built from a unsuccessful (400) low level call on POST: /demo_products/_search?pretty=true&typed_keys=true

Audit trail of this API call:

OriginalException: Elasticsearch.Net.ElasticsearchClientException: Request failed to execute. Call: Status code 400 from: POST /demo_products/_search?pretty=true&typed_keys=true. ServerError: Type: search_phase_execution_exception Reason: "all shards failed" CausedBy: "Type: illegal_argument_exception Reason: "Field [name] is not a completion suggest field" CausedBy: "Type: illegal_argument_exception Reason: "Field [name] is not a completion suggest field"""

Request:

<Request stream not captured or already read to completion by serializer. Set DisableDirectStreaming() on ConnectionSettings to force it to be set on the response.>

Response:

<Response stream not captured or already read to completion by serializer. Set DisableDirectStreaming() on ConnectionSettings to force it to be set on the response.>

Help me! Please.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.