Advertisement
Guest User

Untitled

a guest
Aug 25th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.52 KB | None | 0 0
  1. {
  2. "mappings":{
  3. "vehicle":{
  4. "properties":{
  5. "vechileID":{ "type": "text"},
  6. "make":{ "type": "keyword"},
  7. "model":{ "type": "keyword"},
  8. "modelVariant":{ "type": "keyword"},
  9. "coverImage":{ "type": "text"},
  10. "thumbnails":{ "type": "keyword"},
  11. "videoUrl":{ "type": "text"},
  12. "year":{ "type": "integer"},
  13. "color":{ "type": "keyword"},
  14. "price":{ "type": "integer"},
  15. "useSalePrice": {"type": "boolean"},
  16. "retailPrice": { "type": "integer"},
  17. "power":{ "type": "integer"},
  18. "engineSize":{ "type": "double"},
  19. "co2Emission":{ "type": "integer"},
  20. "gearbox":{ "type": "keyword"},
  21. "mileage":{ "type": "integer"},
  22. "doorPlan":{ "type": "integer"},
  23. "bodyStyle":{ "type": "keyword"},
  24. "fuel":{ "type": "keyword"},
  25. "MPG":{ "type": "integer"},
  26. "attentionGrabber": {"type": "text"},
  27. "location": {"type": "geo_point"},
  28. "creationTime": {"type": "date", "format": "yyyy-MM-dd'T'HH:mm:ss"},
  29. "lastPriceChangeTime": {"type": "date", "format": "dd-MMM-yyyy HH:mm:ss"},
  30. "SellerInfo":{
  31. "properties":{
  32. "sellerId":{ "type": "long"}
  33. }
  34. }
  35. }
  36. }
  37. }
  38. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement