Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "mappings" : {
- "_doc" : {
- "properties" : {
- "order_po_join" : {
- "type" : "join",
- "eager_global_ordinals" : true,
- "relations" : {
- "ordertracking" : "parcel_organization"
- }
- },
- "organization_id" : {
- "type" : "integer"
- },
- "parcel" : {
- "type" : "nested",
- "properties" : {
- "carrier_logo" : {
- "type" : "text",
- "fields" : {
- "keyword" : {
- "type" : "keyword",
- "ignore_above" : 256
- }
- }
- },
- "timezone_awareness" : {
- "type" : "text",
- "fields" : {
- "keyword" : {
- "type" : "keyword",
- "ignore_above" : 256
- }
- }
- }
- }
- },
- "updated_date" : {
- "type" : "date"
- }
- }
- }
- }
- }
- curl -X POST xxx/_reindex -H 'Content-Type: application/json' -d '{"source": {"index": "bruno" }, "dest":{"index": "new_bruno"}, "script":{"inline":"ctx._routing = ctx._source._id"}}'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement