From dc1d0c87b28eacb1fdf9866e74c74e91d2c565de Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 20 Jun 2016 04:14:28 -0400 Subject: [PATCH] Explain the purpose of the Racket files --- course_mapping.rkt | 6 ++++++ schemadsl.rkt | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) 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)