Created
November 26, 2014 14:03
-
-
Save ArFeRR/772a75775dd972e72778 to your computer and use it in GitHub Desktop.
the product index, to which i'm writing a queries
This file contains hidden or 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
{ | |
"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