Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Clarify databag index

  • Loading branch information...
commit c9b02fa0a855b4e37ad47e7e7733c415995e8ec9 1 parent a6a08ac
@stevendanna stevendanna authored btm committed
Showing with 5 additions and 0 deletions.
  1. +5 −0 chef/distro/common/markdown/man1/knife-search.mkd
View
5 chef/distro/common/markdown/man1/knife-search.mkd
@@ -46,6 +46,11 @@ query syntax. The following data types are indexed for search:
* _environment_
* _data bag_
+Data bags are indexed by the data bag's name. For example, to search a
+data bag named "admins":
+
+ knife search admins "field:search_pattern"
+
## QUERY SYNTAX
Queries have the form `field:search_pattern` where `field` is a key in
Please sign in to comment.
Something went wrong with that request. Please try again.