Last active
November 9, 2016 03:09
-
-
Save iBasit/3be4e972f8df0d944fcf01bf7d0a4b06 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"search" : { | |
"mappings" : { | |
"delivery" : { | |
"_meta" : { | |
"model" : "AppBundle\\Entity\\Delivery" | |
}, | |
"dynamic_date_formats" : [ ], | |
"properties" : { | |
"categories" : { | |
"type" : "text" | |
}, | |
"created" : { | |
"type" : "date" | |
}, | |
"customer" : { | |
"type" : "integer" | |
}, | |
"description" : { | |
"type" : "text" | |
}, | |
"distance" : { | |
"type" : "integer" | |
}, | |
"dropoff" : { | |
"properties" : { | |
"city" : { | |
"type" : "text", | |
"fields" : { | |
"keyword" : { | |
"type" : "keyword", | |
"ignore_above" : 256 | |
} | |
} | |
}, | |
"country" : { | |
"type" : "text", | |
"fields" : { | |
"keyword" : { | |
"type" : "keyword", | |
"ignore_above" : 256 | |
} | |
} | |
}, | |
"postalCode" : { | |
"type" : "text", | |
"fields" : { | |
"keyword" : { | |
"type" : "keyword", | |
"ignore_above" : 256 | |
} | |
} | |
}, | |
"region" : { | |
"type" : "text", | |
"fields" : { | |
"keyword" : { | |
"type" : "keyword", | |
"ignore_above" : 256 | |
} | |
} | |
} | |
} | |
}, | |
"dropoffGeoPoint" : { | |
"type" : "geo_point" | |
}, | |
"duration" : { | |
"type" : "integer" | |
}, | |
"expiry" : { | |
"type" : "date" | |
}, | |
"isPaid" : { | |
"type" : "boolean" | |
}, | |
"longestHeight" : { | |
"type" : "integer" | |
}, | |
"longestLength" : { | |
"type" : "integer" | |
}, | |
"longestWidth" : { | |
"type" : "integer" | |
}, | |
"modified" : { | |
"type" : "date" | |
}, | |
"pickup" : { | |
"properties" : { | |
"city" : { | |
"type" : "text", | |
"fields" : { | |
"keyword" : { | |
"type" : "keyword", | |
"ignore_above" : 256 | |
} | |
} | |
}, | |
"country" : { | |
"type" : "text", | |
"fields" : { | |
"keyword" : { | |
"type" : "keyword", | |
"ignore_above" : 256 | |
} | |
} | |
}, | |
"postalCode" : { | |
"type" : "text", | |
"fields" : { | |
"keyword" : { | |
"type" : "keyword", | |
"ignore_above" : 256 | |
} | |
} | |
}, | |
"region" : { | |
"type" : "text", | |
"fields" : { | |
"keyword" : { | |
"type" : "keyword", | |
"ignore_above" : 256 | |
} | |
} | |
} | |
} | |
}, | |
"pickupGeoPoint" : { | |
"type" : "geo_point" | |
}, | |
"provider" : { | |
"type" : "integer" | |
}, | |
"status" : { | |
"type" : "text" | |
}, | |
"title" : { | |
"type" : "text" | |
}, | |
"totalQuantity" : { | |
"type" : "integer" | |
}, | |
"totalWeight" : { | |
"type" : "integer" | |
}, | |
"transit" : { | |
"type" : "text" | |
} | |
} | |
}, | |
"user" : { | |
"_meta" : { | |
"model" : "AppBundle\\Entity\\User" | |
}, | |
"dynamic_date_formats" : [ ], | |
"properties" : { | |
"bookings" : { | |
"type" : "nested", | |
"properties" : { | |
"endDatetime" : { | |
"type" : "date" | |
}, | |
"id" : { | |
"type" : "integer" | |
}, | |
"startDatetime" : { | |
"type" : "date" | |
} | |
} | |
}, | |
"created" : { | |
"type" : "date" | |
}, | |
"firstName" : { | |
"type" : "text" | |
}, | |
"geoLocation" : { | |
"type" : "geo_point" | |
}, | |
"isConfirm" : { | |
"type" : "boolean" | |
}, | |
"isNotify" : { | |
"type" : "boolean" | |
}, | |
"isPhoneVerified" : { | |
"type" : "boolean" | |
}, | |
"isPic" : { | |
"type" : "boolean" | |
}, | |
"isProvider" : { | |
"type" : "boolean" | |
}, | |
"isProviderVerified" : { | |
"type" : "boolean" | |
}, | |
"lastName" : { | |
"type" : "text" | |
}, | |
"modified" : { | |
"type" : "date" | |
}, | |
"pricing" : { | |
"properties" : { | |
"discountDriverHelpFree" : { | |
"type" : "boolean" | |
}, | |
"discountEmptyReturn" : { | |
"type" : "integer" | |
}, | |
"discountOneItem" : { | |
"type" : "integer" | |
}, | |
"discountStudent" : { | |
"type" : "integer" | |
}, | |
"discountWithCompany" : { | |
"type" : "boolean" | |
}, | |
"feeCongestion" : { | |
"type" : "float" | |
}, | |
"feeOutOfHours" : { | |
"type" : "float" | |
}, | |
"feeStoppingViaAddress" : { | |
"type" : "float" | |
}, | |
"increasePercentage" : { | |
"type" : "integer" | |
}, | |
"instantQuoteEnable" : { | |
"type" : "boolean" | |
}, | |
"modified" : { | |
"type" : "date" | |
}, | |
"partner" : { | |
"type" : "boolean" | |
}, | |
"perMenWeekday" : { | |
"type" : "float" | |
}, | |
"perMenWeekend" : { | |
"type" : "float" | |
}, | |
"perStairFlight" : { | |
"type" : "float" | |
} | |
} | |
}, | |
"providerInsuranceAmount" : { | |
"type" : "integer" | |
}, | |
"rating" : { | |
"type" : "float" | |
}, | |
"slug" : { | |
"type" : "text" | |
}, | |
"status" : { | |
"type" : "text" | |
}, | |
"successRate" : { | |
"type" : "integer" | |
}, | |
"vehicles" : { | |
"type" : "nested", | |
"properties" : { | |
"feeRunningMile" : { | |
"type" : "float" | |
}, | |
"freeRunningMiles" : { | |
"type" : "integer" | |
}, | |
"id" : { | |
"type" : "integer" | |
}, | |
"minHours" : { | |
"type" : "integer" | |
}, | |
"perHourWeekday" : { | |
"type" : "float" | |
}, | |
"perHourWeekend" : { | |
"type" : "float" | |
}, | |
"perMileWeekday" : { | |
"type" : "float" | |
}, | |
"perMileWeekend" : { | |
"type" : "float" | |
}, | |
"type" : { | |
"type" : "integer" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment