summaryrefslogtreecommitdiff
path: root/bootstrap.inc
diff options
context:
space:
mode:
authorPrashant S2019-10-25 16:00:01 +0530
committerGitHub2019-10-25 16:00:01 +0530
commit38420315fbc2d6ffa53091c163b20ad3ef875746 (patch)
tree0b770cc13288b868319bb25eacbf87714d722139 /bootstrap.inc
parent8971fca1e7762b1d68ca0eba9290bd1fc47c7172 (diff)
parentfba8df1b0740a8e6b50d487d340d0764f762efb7 (diff)
downloadr_solr_search-38420315fbc2d6ffa53091c163b20ad3ef875746.tar.gz
r_solr_search-38420315fbc2d6ffa53091c163b20ad3ef875746.tar.bz2
r_solr_search-38420315fbc2d6ffa53091c163b20ad3ef875746.zip
Merge pull request #1 from prashantsinalkar/master
R code search for TBC
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');
+?>