elasticsearch/elasticsearch-net — pull request #856 by Mpdreamz (2014-08-06 12:23:41+00:00)
Title: Feature/multi percolate

This PR adds support for the `_mpercolate` API

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-percolate.html#_multi_percolate_api

See https://github.com/elasticsearch/elasticsearch-net/blob/feature/multi-percolate/src/Tests/Nest.Tests.Integration/Core/MultiPercolate/MultiPercolateTests.cs#L19

For example usage.

It also fixes/updates the existing `_percolate` API implementation

* `PercolateCount()` was missing various options present on `Percolate()`
* `PercolateCount()` fluent overload only took an object and a descriptor which blocked you from doing a count percolation on an existing (already indexed) document.
* `Id` was serialized in the body of percolation requests, did not cause errors but not correct.

This again blocks on #853 since `Mpercolate*` suite of classes have been renamed to `MultiPercolate*`