Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

labeled values and searchable #14

Closed
deian opened this issue Feb 27, 2012 · 0 comments
Closed

labeled values and searchable #14

deian opened this issue Feb 27, 2012 · 0 comments
Assignees

Comments

@deian
Copy link
Member

deian commented Feb 27, 2012

  • 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)
  • Remove the instance:
    instance Label l => Insert l (Labeled l (Document l)) where
@ghost ghost assigned alevy Feb 27, 2012
@alevy alevy closed this as completed Feb 28, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants