I started looking for a search engine, and after some reading I decided to go with ElasticSearch (which is pretty surprising :)), my project is in C #, so I looked at the client and started using NEST , everything is pretty simple, but I got a little confused in the search part .
I want to find all the fields in a particular type that I came across is the following code:
elasticClient.Search<NewType>(s => s.Query(q => q.QueryString(d => d.Query(queryString))));
I saw that most of the search in the string query is out of date and wants to make sure the above is the correct way to do this (the above is not marked as deprecated ...) and it is a little longer for a simple task so maybe someone knows another way to do it.
thank
source
share