You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most of parameters are applied to any bulk action (versioning, routing, parent, timestamp, ttl)
Index bulk action has a specific parameter (percolator)
Some parameters (refresh, consistency) are not specific to bulk actions at all.
These parameters are specific to bulk operation itself and should be set via URI parameters.
Like "/bulk?refresh=true" and not like "{ "index" : {"refresh ":true} }"
NEST 0.11.7.0 has a BaseBulkOperation class - all of it properties serialized as Json properties and not like URI parameters, including "refresh" and "consistency" parameters.
This is completely wrong - then I call .Refresh(true) on BulkIndexDescriptor for example, elasticsearch does not refresh anything.
Instead of this I should use "/_bulk/?refresh=true" and this works as it should.
Tested on elasticsearch 0.90.7.
Please made Refresh() method work as URI parameter not like json property.
Please made Percolate() method availabl only to BulkIndexDescriptor and not any other descriptors.
The text was updated successfully, but these errors were encountered:
Please refer to documentation:
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-bulk.html
These parameters are specific to bulk operation itself and should be set via URI parameters.
Like "/bulk?refresh=true" and not like "{ "index" : {"refresh ":true} }"
NEST 0.11.7.0 has a BaseBulkOperation class - all of it properties serialized as Json properties and not like URI parameters, including "refresh" and "consistency" parameters.
This is completely wrong - then I call .Refresh(true) on BulkIndexDescriptor for example, elasticsearch does not refresh anything.
Instead of this I should use "/_bulk/?refresh=true" and this works as it should.
Tested on elasticsearch 0.90.7.
Please made Refresh() method work as URI parameter not like json property.
Please made Percolate() method availabl only to BulkIndexDescriptor and not any other descriptors.
The text was updated successfully, but these errors were encountered: