summaryrefslogtreecommitdiff
path: root/bootstrap.inc
diff options
context:
space:
mode:
authorprashantsinalkar2019-10-23 20:09:42 +0530
committerprashantsinalkar2019-10-23 20:10:06 +0530
commit1aaf5962cbdcc5a2ad97f01598ec7ce5f93aabcd (patch)
treeefa69ca44d825961ab06342a39801cbac3f95912 /bootstrap.inc
parent8971fca1e7762b1d68ca0eba9290bd1fc47c7172 (diff)
downloadr_solr_search-1aaf5962cbdcc5a2ad97f01598ec7ce5f93aabcd.tar.gz
r_solr_search-1aaf5962cbdcc5a2ad97f01598ec7ce5f93aabcd.tar.bz2
r_solr_search-1aaf5962cbdcc5a2ad97f01598ec7ce5f93aabcd.zip
initial commit
Diffstat (limited to 'bootstrap.inc')
-rwxr-xr-xbootstrap.inc21
1 files changed, 21 insertions, 0 deletions
diff --git a/bootstrap.inc b/bootstrap.inc
new file mode 100755
index 0000000..d2a2b3a
--- /dev/null
+++ b/bootstrap.inc
@@ -0,0 +1,21 @@
+
+<?php
+
+ /* Domain name of the Solr server */
+ define('SOLR_SERVER_HOSTNAME', 'localhost');
+
+ /* HTTP Port to connection */
+ define('SOLR_SERVER_PORT', '8983');
+
+ /* HTTP Basic Authentication Username */
+ define('SOLR_SERVER_USERNAME', '');
+
+ /* HTTP Basic Authentication password */
+ define('SOLR_SERVER_PASSWORD', '');
+
+ /* HTTP connection timeout */
+ /* This is maximum time in seconds allowed for the http data transfer operation. Default value is 30 seconds */
+ define('SOLR_SERVER_TIMEOUT', 500000);
+ // collection path
+ define('SOLR_SERVER_COLLECTION_PATH', 'solr/r_code_search_collection');
+?>