Elasticsearch.Net Search APIs

Hi Guys,

I'm new to Elasticsearch and below is my Use case.

Use-case:

  1. We're trying to implement Elasticsearch as SearchEngine for product developed in Microsoft .Net.
  2. Document provided to SDK API will be in the format of JSON (Not strongly typed), hence I'm using Elasticseach.Net SDK instead of NEST SDK.
  3. Fields in document will determined only during run-time, hence I'm using Elasticseach.Net SDK instead of NEST SDK.
  4. JSON document will have NESTED objects.
  5. Dynamic Mapping.

I've Created Index through Elasticsearch.Net API as below,
NESTClient.LowLevel.Index(index, type, docID, jsonData)

Can you please provide a sample code for, on how to Search documents with given value for a field (Nested object) ?

Thanks in Advance.