cfpb / sheer

A tool for loading arbitrary content into Elasticsearch and serving that content on the web.
Creative Commons Zero v1.0 Universal
29 stars 23 forks source link

compiler for JSON documents #4

Closed rosskarchner closed 10 years ago

rosskarchner commented 11 years ago

There should be a new subcommand ('sheer compile') that compiles documents into their elasticsearch json, and caches it in some predictable place. Upon subsequent runs, it should only regenerate the cached document of the source files are newer, kind of like pyc files in Python.

A call to 'sheer index' will include an implicit call to sheer compile