In ElasticSearch.Net v.5 there is a property Elasticsearch.Net.RequestData.Path
which has been deprecated in ElasticSearch.Net v.6. What should I use instead?
Asked
Active
Viewed 46 times
2

LosManos
- 7,195
- 6
- 56
- 107
1 Answers
1
If you look at the history in github, Path
gets replaced with a more descriptive property, PathAndQuery
. If you look at the constructor, both Path
and PathAndQuery
are set using the CreatePathWithQueryStrings(...)
method.

Tim
- 1,276
- 11
- 23
-
Thankyou. (I did as you wrote, ahead of posting, but didn't know how far down the rabbit hole I should care to go. I lost stamina at the [commit](https://github.com/elastic/elasticsearch-net/pull/3016) where `Path` was dropped and `PathAndQuery` came to life, as I found no explicit clue that they were the same. Had I followed the rabbit into the constructor I would probably not have had to ask.) – LosManos Nov 20 '18 at 06:40