scslab/hails — Issue #14: labeled values and searchable
Author: deian
Created: 2012-02-27 22:22:21+00:00
State: open

* When inserting a document we should check that the value of a searchable key is not of a labeled type. This asserts that we can't perform arbitrary aggregations on labeled values.

* When retrieving a searchable value, we should make sure that it's not a labeled value, by sanitizing the retrieved document (i.e., remove all hails-internal)