•  
     
    story #7060 Initiate the new ElasticSearch indexation format
Summary
Tuleap developer
Initiate the new ElasticSearch indexation format
Tuleap has a more usable ElasticSearch data model and can deal with custom metadata per project
  • Delete old mapping (in README file)
  • Types are not autodetected
  • Create default mapping
    • Title => string
    • Description => Text
    • Owner => string
    • Created date => date
    • Update date => date
    • obsolescence date => date
  • Apply new workflow
ElasticSearchn new workflow
Empty
Status
Empty
Done
Development
  • [ ] Does it involves User Interface? 
  • [ ] Are there any mockups?
  • [ ] Are permissions checked?
  • [ ] Does it need Javascript development?
  • [x] Does it need a forge upgrade bucket?
  • [ ] Does it need to execute things in system events?
  • [ ] Does it impact project creation (templates)?
  • [x] Is it exploratory?

ElasticSearch array type mapping example:

curl -XPUT 'http://localhost:9200/test/b/_mapping' -d '{ "b" : { "properties" : { "comments" : { "type" : "string", "index_name" : "comment"} } } }'

 

ElasticSearch delete data and mapping example:

curl -XDELETE 'http://localhost:9200/test/b'

 

 

Details
#7060
Yannis ROSSETTO (rossettoy)
2014-06-23 14:16
2014-06-16 14:37
3194

References
Referencing story #7060

Follow-ups