1<?php
2
3define('SOLR_SERVER_CONFIGURED', true);
4
5define('ROOT_DIRECTORY', dirname(__FILE__));
6
7define('EXAMPLE_RESPONSE_XML_1', ROOT_DIRECTORY . '/files/response_xml.1.xml');
8define('EXAMPLE_RESPONSE_XML_2', ROOT_DIRECTORY . '/files/response_xml.2.xml');
9define('EXAMPLE_RESPONSE_XML_3', ROOT_DIRECTORY . '/files/response_xml.3.xml');
10define('EXAMPLE_RESPONSE_XML_4', ROOT_DIRECTORY . '/files/response_xml.4.xml');
11define('EXTRACT_FILE_1', ROOT_DIRECTORY . '/files/extract_file.1.pdf');
12
13/* Whether or not to run in secure mode */
14define('SOLR_SECURE', false);
15
16/* Domain name of the Solr server */
17define('SOLR_SERVER_HOSTNAME', '127.0.0.1');
18
19/* HTTP Port to connection */
20define('SOLR_SERVER_PORT', ((SOLR_SECURE) ? 8443 : 8983));
21
22/* SOLR CORE to test on */
23define('SOLR_SERVER_PATH', 'solr/collection1');
24
25/* used to test child documents */
26define('SOLR_SERVER_STORE_PATH', 'solr/metal_store');
27
28define('SOLR_SERVER_FILES_PATH', 'solr/myfiles');
29
30/* HTTP Basic Authentication Username */
31define('SOLR_SERVER_USERNAME', 'admin');
32
33/* HTTP Basic Authentication password */
34define('SOLR_SERVER_PASSWORD', 'changeit');
35
36/* HTTP connection timeout */
37/* This is maximum time in seconds allowed for the http data transfer operation. Default value is 30 seconds */
38define('SOLR_SERVER_TIMEOUT', 10);
39
40/* File name to a PEM-formatted private key + private certificate (concatenated in that order) */
41define('SOLR_SSL_CERT', 'certs/combo.pem');
42
43/* File name to a PEM-formatted private certificate only */
44define('SOLR_SSL_CERT_ONLY', 'certs/solr.crt');
45
46/* File name to a PEM-formatted private key */
47define('SOLR_SSL_KEY', 'certs/solr.key');
48
49/* Password for PEM-formatted private key file */
50define('SOLR_SSL_KEYPASSWORD', 'StrongAndSecurePassword');
51
52/* Name of file holding one or more CA certificates to verify peer with*/
53define('SOLR_SSL_CAINFO', 'certs/cacert.crt');
54
55/* Name of directory holding multiple CA certificates to verify peer with */
56define('SOLR_SSL_CAPATH', 'certs/');
57
58?>
59