I am looking for ElasticSearch nest query which will provide exact match on string having spaces in it using C#.
for example - I want to search for a word like \'XYZ
It looks like you just need to refresh the new index following the re-indexing operation.
Using your code example (and your first term query), I was seeing the same result -- 0 hits.
Adding the following Refresh
call after the reindex.Subscribe()
call results in a single hit being returned:
objElasticClient.Refresh(new RefreshRequest() { });