This file is indexed.

/usr/share/chef-solr/solr.rb is in chef-solr 10.12.0+dfsg-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Configuration File For Chef SOLR (chef-solr, chef-solr-indexer)
#
# Both the chef-solr and chef-solr-indexer daemons read this configuration 
# file on startup, as set in /etc/default/chef-solr*.
#
# The chef-solr-indexer program listens to a rabbitmq-server for the /chef
# queue, for data stored in the CouchDB. When data is saved to the chef-server,
# a message is sent to the queue, and the data is indexed and stored by
# chef-solr for search in Chef recipes, or with the 'knife' command-line tool.
#
# chef-solr is a solr-jetty instance.
# 
# It is a Ruby DSL config file, and can embed regular Ruby code in addition to
# the configuration settings. Some settings use Ruby symbols, which are a value
# that starts with a colon. In Ruby, anything but 'false' or 'nil' is true. To
# set something to false:
#
# some_setting false
#
# log_location specifies where the indexer should log to.
# valid values are: a quoted string specifying a file, or STDOUT with
# no quotes.
# Corresponds to chef-solr or chef-solr-indexer -l
# Both chef-solr and chef-solr-indexer daemons are configured to log in
#   /etc/default/chef-solr -> /var/log/chef-solr
#   /etc/default/chef-solr-indexer -> /var/log/chef-solr-indexer
# respectively. The jetty log for chef-solr is set in
# /etc/chef/solr-jetty/jetty.xml to /var/log/chef/yyyy_mm_dd.jetty.log.

log_location       STDOUT

# search_index_path specifies where the indexer should store the indexes.
# valid value is any filesystem directory location.

search_index_path    "/var/lib/chef/search_index"

# set the jetty path to use Debian solr-jetty. Additional configuration for
# jetty can be found in /etc/chef/solr-jetty (which is symbolically linked to
# /var/lib/chef/solr/solr-jetty/etc).

solr_jetty_path "/var/lib/chef/solr/solr-jetty"
solr_home_path  "/var/lib/chef/solr"
solr_data_path  "/var/cache/chef/solr/data"
solr_heap_size  "256M"

# specifies the URL of the SOLR instance for the indexer to connect to.
# To change the port, modify the jetty.port setting in
# /etc/chef/solr-jetty/jetty.xml

solr_url        "http://localhost:8983"

# uses the solr_jetty_path option set above, and the etc directory is
# actually a symbolic link to /etc/chef/solr-jetty.

solr_java_opts  "-DSTART=#{solr_jetty_path}/etc/start.config"

# amqp_pass sets the password for the AMQP virtual host in rabbitmq-server.

amqp_pass "testing"

# Mixlib::Log::Formatter.show_time specifies whether the log should
# contain timestamps.
# valid values are true or false. The printed timestamp is rfc2822, for example:
# Fri, 31 Jul 2009 19:19:46 -0600

Mixlib::Log::Formatter.show_time = true