Browse Source

Explain the purpose of the Racket files

master
wes 9 years ago
parent
commit
dc1d0c87b2
  1. 6
      course_mapping.rkt
  2. 3
      schemadsl.rkt

6
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

3
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)

Loading…
Cancel
Save