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