Hmm. This could work. Back in the once upon a time that failed because there was one big data bag item instead of 3500 tiny ones, and no matter how the config was changed, solr refused to index it.
I'd prefer a direct call instead of a search, but this could work.
Could even use partial search when a node needs one attribute from each of 1800 of those. Hmm :)
You can use search. search(:mydatabag, "*:*")
http://docs.opscode.com/essentials_data_bags_use_search.html
Archive powered by MHonArc 2.6.16.