distro/common/html/knife-search.1.html in chef-0.10.4 vs distro/common/html/knife-search.1.html in chef-0.10.6.beta.1
- old
+ new
@@ -118,10 +118,11 @@
<ul>
<li><em>node</em></li>
<li><em>role</em></li>
<li><em>environment</em></li>
+<li><em>clients</em></li>
<li><em>data bag</em></li>
</ul>
<p>Data bags are indexed by the data bag's name. For example, to search a
@@ -189,11 +190,11 @@
<p>Fuzzy searches allows one to match values based on the Levenshtein
Distance algorithm. To perform a fuzzy match, append a tilda (~) to
the search term:</p>
-<pre><code>knife search nodes 'field:term~'
+<pre><code>knife search INDEX 'field:term~'
</code></pre>
<p>This search would return nodes whose <code>field</code> was 'perm' or 'germ'.</p>
<h3 id="BOOLEAN-OPERATORS">BOOLEAN OPERATORS</h3>
@@ -233,21 +234,21 @@
<h2 id="EXAMPLES">EXAMPLES</h2>
<p>Find the nodes with the fully-qualified domain name (FQDN)
www.example.com:</p>
-<pre><code>knife search nodes 'fqdn:www.example.com'
+<pre><code>knife search node 'fqdn:www.example.com'
</code></pre>
<p>Find the nodes running a version of Ubuntu:</p>
-<pre><code>knife search nodes 'platform:ubuntu*'
+<pre><code>knife search node 'platform:ubuntu*'
</code></pre>
<p>Find all nodes running CentOS in the production environment:</p>
-<pre><code>knife search nodes 'chef_environment:production AND platform:centos'
+<pre><code>knife search node 'chef_environment:production AND platform:centos'
</code></pre>
<h2 id="KNOWN-BUGS">KNOWN BUGS</h2>
<ul>
@@ -262,24 +263,24 @@
<a href="http://wiki.opscode.com/display/chef/Attributes" data-bare-link="true">http://wiki.opscode.com/display/chef/Attributes</a>
<a href="http://lucene.apache.org/java/2_3_2/queryparsersyntax.html">Lucene Query Parser Syntax</a></p>
<h2 id="AUTHOR">AUTHOR</h2>
-<p> Chef was written by Adam Jacob <a href="mailto:adam@opscode.com" data-bare-link="true">adam@opscode.com</a> with many contributions from the community.</p>
+<p> Chef was written by Adam Jacob <a href="mailto:adam@opscode.com" data-bare-link="true">adam@opscode.com</a> with many contributions from the community.</p>
<h2 id="DOCUMENTATION">DOCUMENTATION</h2>
-<p> This manual page was written by Joshua Timberman <a href="mailto:joshua@opscode.com" data-bare-link="true">joshua@opscode.com</a>.
+<p> This manual page was written by Joshua Timberman <a href="mailto:joshua@opscode.com" data-bare-link="true">joshua@opscode.com</a>.
Permission is granted to copy, distribute and / or modify this document under the terms of the Apache 2.0 License.</p>
<h2 id="CHEF">CHEF</h2>
<p> Knife is distributed with Chef. <a href="http://wiki.opscode.com/display/chef/Home" data-bare-link="true">http://wiki.opscode.com/display/chef/Home</a></p>
<ol class='man-decor man-foot man foot'>
- <li class='tl'>Chef 0.10.4</li>
- <li class='tc'>August 2011</li>
+ <li class='tl'>Chef 0.10.6.beta.1</li>
+ <li class='tc'>October 2011</li>
<li class='tr'>knife-search(1)</li>
</ol>
</div>
</body>