Created
March 17, 2015 12:32
-
-
Save ArFeRR/ebfc9aec5bbe1e238505 to your computer and use it in GitHub Desktop.
product mapping
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 | |
} | |
} | |
}, | |
"id":{ | |
"type":"string", | |
"store":true | |
}, | |
"isActive":{ | |
"type":"string", | |
"store":true | |
}, | |
"name":{ | |
"type":"string", | |
"store":true | |
}, | |
"notShowInCatalog":{ | |
"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 | |
}, | |
"optionValues":{ | |
"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 | |
} | |
} | |
}, | |
"priceMarkdowned":{ | |
"type":"float", | |
"store":true | |
}, | |
"priceOriginal":{ | |
"type":"float", | |
"store":true | |
}, | |
"priceSpecial":{ | |
"type":"float", | |
"store":true | |
}, | |
"stock":{ | |
"type":"string", | |
"index":"not_analyzed", | |
"store":true | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment