Module | Search::Overrides |
In: |
lib/knife-solo/resources/patch_cookbooks/chef-solo-search/libraries/search/overrides.rb
|
Overwrite the search method of recipes to operate locally by using data found in data_bags. Only very basic lucene syntax is supported and also sorting the result is not implemented, if this search method does not support a given query an exception is raised. This search() method returns a block iterator or an Array, depending on how this method is called.