diff --git a/course_mapping.rkt b/course_mapping.rkt index 65a1e2e..b08b666 100755 --- a/course_mapping.rkt +++ b/course_mapping.rkt @@ -1,5 +1,11 @@ #! /usr/bin/racket #lang racket +; This file is used to generate the mapping for elasticsearch +; It is written in Racket (a dialect of Scheme) +; It will not be necessary to run unless you want to change the elasticsearch mapping +; This may be necessary if you have fields you want to add, or need some other customization +; You may also edit the JSON mapping directly, or use whatever tool you want to edit the mapping with + (require "schemadsl.rkt") (displayln diff --git a/schemadsl.rkt b/schemadsl.rkt index 667f371..8308b40 100644 --- a/schemadsl.rkt +++ b/schemadsl.rkt @@ -1,5 +1,6 @@ #lang racket - +; This file is used to generate the elasticsearch mapping +; It is written in Racket (a dialect of Scheme) (require json) (define (root name type)