Skip to content
Scott Rice edited this page Feb 21, 2015 · 4 revisions

Schema draft

MongoDB

  • product_id: Integer
  • title: String
  • category: String
  • price: Double
  • img_url: String
  • prod_attributes: String (JSON blob)
  • related_prod_ids: Integer Array

CloudSearch

  • product_id: int, not searchable
  • title: text, searchable
  • category: text_literal, searchable & facet & sortable
  • price: double, searchable & facet
  • img_url: text, not searchable
  • prod_attributes: text, not searchable
  • related_prod_ids: int array, not searchable
Clone this wiki locally