Hi,
I am currently using v7 Elastic .NET client Nest. I want to migrate to the new Elastic.Client.Elasticsearch package v8. I have problems with this package's documentations and I can not find proper docs to use this package so I had to ask my question here.
How can I rewrite the following query writen with Nest using the new .NET client?
@flobernd Thanks for your response.
This code does not have syntax errors but I get this exception after executing this query:
Message: Request failed to execute. Call: Status code 400 from: POST /_search?pretty=true&error_trace=true&typed_keys=true. ServerError: Type: parsing_exception Reason: "suggester[phrase] doesn't support field [text]"
{Unsuccessful (400) low level call on POST: /_search?pretty=true&error_trace=true&typed_keys=true Exception: Request failed to execute. Call: Status code 400 from: POST /_search?pretty=true&error_trace=true&typed_keys=true. ServerError: Type: parsing_exception Reason: "suggester[phrase] doesn't support field [text]"}
Can somebody please answer this question? I really can't solve and debug this issue by myself because of the lack of documentations and examples in this area.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.