Skip to content

Instantly share code, notes, and snippets.

@ArFeRR
Created November 26, 2014 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ArFeRR/772a75775dd972e72778 to your computer and use it in GitHub Desktop.
Save ArFeRR/772a75775dd972e72778 to your computer and use it in GitHub Desktop.
the product index, to which i'm writing a queries
{
"parfums" : {
"mappings" : {
"product" : {
"_meta" : {
"model" : "Parfums\\ProductBundle\\Entity\\Product"
},
"properties" : {
"brand" : {
"properties" : {
"countries" : {
"properties" : {
"id" : {
"type" : "string",
"store" : true
},
"name" : {
"type" : "string",
"store" : true
}
}
},
"id" : {
"type" : "string",
"store" : true
},
"name" : {
"type" : "string",
"index" : "not_analyzed",
"store" : true
}
}
},
"categories" : {
"properties" : {
"alias" : {
"type" : "string",
"index" : "not_analyzed",
"store" : true
},
"id" : {
"type" : "string",
"index" : "not_analyzed",
"store" : true
},
"nameRu" : {
"type" : "string",
"index" : "not_analyzed",
"store" : true
}
}
},
"filterValues" : {
"properties" : {
"id" : {
"type" : "string",
"store" : true
},
"productOptionValue" : {
"properties" : {
"id" : {
"type" : "string",
"store" : true
},
"productOption" : {
"properties" : {
"id" : {
"type" : "string",
"store" : true
},
"nameRu" : {
"type" : "string",
"index" : "not_analyzed",
"store" : true
}
}
},
"value" : {
"type" : "string",
"index" : "not_analyzed",
"store" : true
}
}
}
}
},
"id" : {
"type" : "string",
"store" : true
},
"isActive" : {
"type" : "string",
"store" : true
},
"isMarkdowned" : {
"type" : "string",
"store" : true
},
"name" : {
"type" : "string",
"store" : true
},
"serie" : {
"properties" : {
"id" : {
"type" : "string",
"store" : true
},
"name" : {
"type" : "string",
"index" : "not_analyzed",
"store" : true
}
}
},
"skus" : {
"properties" : {
"id" : {
"type" : "string",
"store" : true
},
"isMarkdowned" : {
"type" : "boolean",
"store" : true
},
"nameRu" : {
"type" : "string",
"index" : "not_analyzed",
"store" : true
},
"priceMarkdowned" : {
"type" : "float",
"store" : true
},
"priceOriginal" : {
"type" : "float",
"store" : true
},
"priceSpecial" : {
"type" : "float",
"store" : true
},
"stock" : {
"type" : "string",
"store" : true
}
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment