Aller au contenu principal

Synchronisation

La synchronisation de l'index Algolia se fait à l'issue des étapes de normalisation après l'import et la normalisation du flux de véhicules.

Exemple de flux json d'un véhicule transmis à l'index d'Algolia :

    {
"id": 689,
"sourceId": "",
"maker": {
"name": "TOYOTA",
"slug": "toyota"
},
"model": {
"name": "SUPRA",
"slug": "supra",
"fullName": "TOYOTA > SUPRA",
"fullNames": [
"TOYOTA > Tous les modèles",
"TOYOTA > SUPRA"
]
},
"modelFamily": "",
"version": {
"name": "Supra GR 2.0 Pack Premium",
"slug": "supra-gr-2-0-pack-premium"
},
"type": {
"name": "VP",
"isVp": true,
"isVul": false,
"isMoto": false
},
"cond": {
"name": "vd",
"isVo": false,
"isVn": false,
"isVd": true
},
"year": 2020,
"category": {
"original": "Coupé",
"normalized": "Coupé"
},
"energy": {
"original": "Essence",
"normalized": "Essence"
},
"gearbox": {
"original": "Boîte automatique",
"normalized": "Automatique",
"number": "8",
"auto": true
},
"doors": 3,
"seats": 2,
"taxPower": 15,
"realPower": 190,
"emissionCo2": 170,
"consumption": {
"global": null,
"urban": null,
"overland": null
},
"mileage": 10000,
"colorOutside": "Gris",
"mainPhoto": "75967ed03ba602fe49c63218f699e6729e25a3e3af888b395a58641b4c0e582687e45d3afd5b6de11fa3537c8f46f1d0228d4f9fbd6909586ff21c3e3966b5bf2cca516894369d0e_2",
"pricing": {
"price": 57785,
"pricePublic": 57785,
"pricePromotion": null,
"isPromotion": false
},
"funding": {
"hasMonthlyPayment": false,
"monthlyPayment": null
},
"mainAgency": {
"id": 20,
"name": "Jean Lain Occasions Lexus Seyssinet",
"displayCity": "Grenoble",
"city": "Seyssinet-Pariset"
},
"agencies": [],
"urls": {
"detann": "/voiture/direction/toyota/modele-supra/supra-gr-2-0-pack-premium-53715/"
},
"promotionsType": [],
"promotionConfig": null,
"isLowKm": true,
"isFallingPrice": false,
"isEligibleConversionBonus": false,
"isLowPrice": false,
"createdAtTimestamp": 1691490226,
"autocomplete": {
"model": "{\"name\":\"TOYOTA SUPRA\",\"maker\":\"TOYOTA\",\"model\":\"SUPRA\"}",
"energy": "{\"name\":\"TOYOTA SUPRA Essence\",\"maker\":\"TOYOTA\",\"model\":\"SUPRA\",\"energy\":\"Essence\"}"
},
"critAir": "1",
"isPriceRecoverableVat": true,
"isLoa": false,
"isCreditClassique": false,
"matchedEquipments": [
"gps",
"climatisation",
"jantes-alu",
"aide-au-stationnement",
"radar-de-recul",
"bluetooth"
],
"driveWheel": 2,
"labels": "Constructeur",
"dinPower": 258,
"monthlyPayment": null,
"isOnlineBuying": false,
"isNewInStock": true,
"cities": [
"ALBERTVILLE"
],
"isOrderable": true,
"isBookable": true,
"equipments": {
"isLowKm": true,
"isFallingPrice": false,
"isEligibleConversionBonus": false,
"isLowPrice": false
},
"importNumber": "263049",
"isHeritage": false,
"objectID": "689",
"_snippetResult": {
"id": {
"value": "689",
"matchLevel": "none"
},
"sourceId": {
"value": "",
"matchLevel": "none"
},
"maker": {
"name": {
"value": "TOYOTA",
"matchLevel": "none"
},
"slug": {
"value": "toyota",
"matchLevel": "none"
}
},
"model": {
"name": {
"value": "SUPRA",
"matchLevel": "none"
},
"slug": {
"value": "supra",
"matchLevel": "none"
},
"fullName": {
"value": "TOYOTA > SUPRA",
"matchLevel": "none"
},
"fullNames": [
{
"value": "TOYOTA > Tous les modèles",
"matchLevel": "none"
},
{
"value": "TOYOTA > SUPRA",
"matchLevel": "none"
}
]
},
"modelFamily": {
"value": "",
"matchLevel": "none"
},
"version": {
"name": {
"value": "Supra GR 2.0 Pack Premium",
"matchLevel": "none"
},
"slug": {
"value": "supra-gr-2-0-pack-premium",
"matchLevel": "none"
}
},
"type": {
"name": {
"value": "VP",
"matchLevel": "none"
}
},
"cond": {
"name": {
"value": "vd",
"matchLevel": "none"
}
},
"year": {
"value": "2020",
"matchLevel": "none"
},
"category": {
"original": {
"value": "Coupé",
"matchLevel": "none"
},
"normalized": {
"value": "Coupé",
"matchLevel": "none"
}
},
"energy": {
"original": {
"value": "Essence",
"matchLevel": "none"
},
"normalized": {
"value": "Essence",
"matchLevel": "none"
}
},
"gearbox": {
"original": {
"value": "Boîte automatique",
"matchLevel": "none"
},
"normalized": {
"value": "Automatique",
"matchLevel": "none"
},
"number": {
"value": "8",
"matchLevel": "none"
}
},
"doors": {
"value": "3",
"matchLevel": "none"
},
"seats": {
"value": "2",
"matchLevel": "none"
},
"taxPower": {
"value": "15",
"matchLevel": "none"
},
"realPower": {
"value": "190",
"matchLevel": "none"
},
"emissionCo2": {
"value": "170",
"matchLevel": "none"
},
"mileage": {
"value": "10000",
"matchLevel": "none"
},
"colorOutside": {
"value": "Gris",
"matchLevel": "none"
},
"mainPhoto": {
"value": "75967ed03ba602fe49c63218f699e6729e25a3e3af888b395a58641b4c0e582687e45d3afd5b6de11fa3537c8f46f1d0228d4f9fbd6909586ff21c3e3966b5bf2cca516894369d0e_2",
"matchLevel": "none"
},
"pricing": {
"price": {
"value": "57785",
"matchLevel": "none"
},
"pricePublic": {
"value": "57785",
"matchLevel": "none"
}
},
"mainAgency": {
"id": {
"value": "20",
"matchLevel": "none"
},
"name": {
"value": "Jean Lain Occasions Lexus Seyssinet",
"matchLevel": "none"
},
"displayCity": {
"value": "Grenoble",
"matchLevel": "none"
},
"city": {
"value": "Seyssinet-Pariset",
"matchLevel": "none"
}
},
"urls": {
"detann": {
"value": "/voiture/direction/toyota/modele-supra/supra-gr-2-0-pack-premium-53715/",
"matchLevel": "none"
}
},
"createdAtTimestamp": {
"value": "1691490226",
"matchLevel": "none"
},
"autocomplete": {
"model": {
"value": "{\"name\":\"TOYOTA SUPRA\",\"maker\":\"TOYOTA\",\"model\":\"SUPRA\"}",
"matchLevel": "none"
},
"energy": {
"value": "{\"name\":\"TOYOTA SUPRA Essence\",\"maker\":\"TOYOTA\",\"model\":\"SUPRA\",\"energy\":\"Essence\"}",
"matchLevel": "none"
}
},
"critAir": {
"value": "1",
"matchLevel": "none"
},
"matchedEquipments": [
{
"value": "gps",
"matchLevel": "none"
},
{
"value": "climatisation",
"matchLevel": "none"
},
{
"value": "jantes-alu",
"matchLevel": "none"
},
{
"value": "aide-au-stationnement",
"matchLevel": "none"
},
{
"value": "radar-de-recul",
"matchLevel": "none"
},
{
"value": "bluetooth",
"matchLevel": "none"
}
],
"driveWheel": {
"value": "2",
"matchLevel": "none"
},
"labels": {
"value": "Constructeur",
"matchLevel": "none"
},
"dinPower": {
"value": "258",
"matchLevel": "none"
},
"cities": [
{
"value": "ALBERTVILLE",
"matchLevel": "none"
}
],
"importNumber": {
"value": "263049",
"matchLevel": "none"
}
},
"_highlightResult": {
"maker": {
"name": {
"value": "TOYOTA",
"matchLevel": "none",
"matchedWords": []
}
},
"model": {
"name": {
"value": "SUPRA",
"matchLevel": "none",
"matchedWords": []
}
},
"version": {
"name": {
"value": "Supra GR 2.0 Pack Premium",
"matchLevel": "none",
"matchedWords": []
}
},
"category": {
"normalized": {
"value": "Coupé",
"matchLevel": "none",
"matchedWords": []
}
},
"energy": {
"normalized": {
"value": "Essence",
"matchLevel": "none",
"matchedWords": []
}
},
"gearbox": {
"normalized": {
"value": "Automatique",
"matchLevel": "none",
"matchedWords": []
}
},
"colorOutside": {
"value": "Gris",
"matchLevel": "none",
"matchedWords": []
},
"importNumber": {
"value": "263049",
"matchLevel": "none",
"matchedWords": []
}
},
"_rankingInfo": {
"nbTypos": 0,
"firstMatchedWord": 0,
"proximityDistance": 0,
"userScore": 639,
"geoDistance": 0,
"geoPrecision": 0,
"nbExactWords": 0,
"words": 0,
"filters": 0
}
}