Browse files

Updated README.md: queries for chef_environment are supported again.

  • Loading branch information...
1 parent 0055dcc commit 238ca7c27288b734dc727ced13b85917909e7ede @thekorn thekorn committed Sep 8, 2011
Showing with 0 additions and 9 deletions.
  1. +0 −9 README.md
View
9 README.md
@@ -77,15 +77,6 @@ Sample supported queries are:
### More complex queries:
search(:users, "children:tom NOT gender:female AND age:42")
-
-### special case: 'chef_environment' queries:
-
-Searching by values in the "chef_environment" field will raise an RuntimeError
-immediately, mostly because right now there is now way for the chef-solo run to
-know about the environment it is running in. We strongly suggest using an
-"environment" attribute, so queries will endup looking like:
-
- search(:users, "age:42 and environment:testing")
## Running tests

0 comments on commit 238ca7c

Please sign in to comment.