The default config for the solr commit interval is 60000 ms (1
"> writes:
> It takes 60 seconds from when I call "knife data bag from file somebag
> path/to/some.json" until "knife search somebag" will return the answer.
> Is there anything that can be done to make that faster?
minute). Depending on your load and hardware specs, you can likely
reduce this time to reduce the latency between data updates and
search-ability of the data.
The config would go into /etc/chef-server/chef-server.rb and look like:
chef_solr['commit_interval'] = 10000
+ seth
--
Seth Falcon | Development Lead | Opscode | @sfalcon
Archive powered by MHonArc 2.6.16.