Skip to content

Conversation

@Inox117
Copy link

@Inox117 Inox117 commented Feb 10, 2016

Gabriel QUESTE - Quentin VICTOOR

Utilisation du script de création d'index géographique
db.installations.ensureIndex( { "location" : "2dsphere" } )

Utilisation des scripts contenu dans update.all.coordinates.queries

Script de mapping dans ElasticSearch

PUT installations/
{

"mappings": {


"installation": {
"_all": { "type": "string", "analyzer" : "french"},
"properties": {

"adresse": {
"properties": {
"voie": {"type" : "string", "analyzer" : "french"}
}
},
"equipements": {
"properties": {
"activites": {
"type": "string", "analyzer" : "french"
},
"famille": {
"type": "string", "analyzer" : "french"
},
"nom": {
"type": "string", "analyzer" : "french"
},
"type": {
"type": "string", "analyzer" : "french"
}
}
},
"nom": {
"type": "string", "analyzer" : "french"
}
}
}
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants