elasticsearch-ruby
elasticsearch-ruby copied to clipboard
Issues with reindex api
I have been having a number of issues with the reindex api call and there appear to be inconsistencies between the ruby api code and the API docs.
1/. ruby api call wants a target parameter rather than dest as in the docs -- this is confusing. 2/ only index key in both the source and target hash appears to be checked and anything else is ignored.
I have been trying to include a query with a max_docs and it is ignored -- when I mangle query to qxxxx it is still ignored and does not raise an error.
I have also tried to set up a geoip ingest pipeline but it to is ignored.
the destination index is matched by an index template and the index is correctly created but I get an error for every doc on one field which is integer in both source and dest mappings 02][1] mapping update rejected by primary java.lang.IllegalArgumentException: