From dacfcb1a4e665089453e7b5c9de4ec844d57a351 Mon Sep 17 00:00:00 2001 From: Luan Date: Wed, 30 Oct 2013 16:27:16 -0200 Subject: [PATCH] Removing solr-conf folder --- solr-conf/README | 46 ---------------------------------------------- solr-conf/data-config.xml | 365 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- solr-conf/schema.xml | 614 -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- solr-conf/solr-tomcat.xml | 12 ------------ solr-conf/solrconfig.xml | 1535 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 5 files changed, 0 insertions(+), 2572 deletions(-) delete mode 100644 solr-conf/README delete mode 100644 solr-conf/data-config.xml delete mode 100644 solr-conf/schema.xml delete mode 100644 solr-conf/solr-tomcat.xml delete mode 100644 solr-conf/solrconfig.xml diff --git a/solr-conf/README b/solr-conf/README deleted file mode 100644 index 391f918..0000000 --- a/solr-conf/README +++ /dev/null @@ -1,46 +0,0 @@ -Installation instructions for Ubuntu 10.04 -------------------------------------------- - -* Install Java, tomcat, JDBC Postgres drivers (Ubuntu partner repositories must be enabled): -sudo apt-get install sun-java6-bin tomcat6 libpg-java - -* Download Solr 3.3 and extract it: -wget http://ftp.unicamp.br/pub/apache/lucene/solr/3.3.0/apache-solr-3.3.0.tgz -tar xzf apache-solr-3.3.0.tgz - -* Create the directory /var/local/lib/solr/ and give the right permissions: -sudo mkdir -p /var/local/lib/solr/ -sudo chown tomcat6:tomcat6 /var/local/lib/solr/ - -* Copy the solr home example to /usr/local/share/: -sudo cp -R apache-solr-3.3.0/example/solr /usr/local/share/ - -* Create a folder for libs in the solr home: -sudo mkdir /usr/local/share/solr/lib/ - -* Copy Solr libs to libs folder: -sudo cp apache-solr-3.3.0/dist/*.jar /usr/local/share/solr/lib/ - -* Copy Solr distribution to solr home: -sudo cp apache-solr-3.3.0/dist/apache-solr-3.3.0.war /usr/local/share/solr/ - -* Link the JDBC Postgres drivers into the Solr installation: -sudo ln -s /usr/share/java/postgresql-jdbc3-8.4.jar /usr/local/share/solr/lib/ - -* Link configurations to /etc -sudo ln -s /usr/local/share/solr/conf/ /etc/solr - -* Copy the configuration files from this folder into /etc/solr/ - -* Link the solr-tomcat.xml file in the Tomcat configuration: -sudo ln -s /etc/solr/solr-tomcat.xml /etc/tomcat6/Catalina/localhost/solr.xml - -* Check data-config.xml to make sure all information to connect to the databases are right - -* Create a dataimport.properties on /etc/solr and give write access to tomcat6: -sudo touch /etc/solr/dataimport.properties -sudo chown tomcat6:tomcat6 /etc/solr/dataimport.properties - -* Restart tomcat: -sudo /etc/init.d/tomcat6 restart - diff --git a/solr-conf/data-config.xml b/solr-conf/data-config.xml deleted file mode 100644 index 23a5f1e..0000000 --- a/solr-conf/data-config.xml +++ /dev/null @@ -1,365 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/solr-conf/schema.xml b/solr-conf/schema.xml deleted file mode 100644 index e1ee89b..0000000 --- a/solr-conf/schema.xml +++ /dev/null @@ -1,614 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - UID - - - default - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/solr-conf/solr-tomcat.xml b/solr-conf/solr-tomcat.xml deleted file mode 100644 index e6ee996..0000000 --- a/solr-conf/solr-tomcat.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - diff --git a/solr-conf/solrconfig.xml b/solr-conf/solrconfig.xml deleted file mode 100644 index 18baead..0000000 --- a/solr-conf/solrconfig.xml +++ /dev/null @@ -1,1535 +0,0 @@ - - - - - - - - - ${solr.abortOnConfigurationError:true} - - - LUCENE_33 - - - - - - - - - - - - - - - - - ${solr.data.dir:/var/local/lib/solr/data} - - - - - - - - - - false - - 10 - - 32 - - - - 10000 - 1000 - 10000 - - - - - - - - - native - - - - - - - - - false - 32 - 10 - - - false - - - true - - - - - 1 - - 0 - - - - - - false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1024 - - - - - - - - - - - - - - - - - - - - - - true - - - - - - 20 - - - 200 - - - - - - - - - - - - static firstSearcher warming in solrconfig.xml - - - - - - false - - - 2 - - - - - - - - - - - - - - - - - - - - - - - explicit - 10 - - - - - - - - - - - - - - explicit - - - velocity - - browse - layout - Solritas - - edismax - *:* - 10 - *,score - - text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0 manu^1.1 cat^1.4 - - text,features,name,sku,id,manu,cat - 3 - - - text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0 manu^1.1 cat^1.4 - - - on - cat - manu_exact - ipod - GB - 1 - cat,inStock - price - 0 - 600 - 50 - after - manufacturedate_dt - NOW/YEAR-10YEARS - NOW - +1YEAR - before - after - - - - on - text features name - 0 - name - - - spellcheck - - - - - - - - - - - - - - - - - - - - - - - text - true - ignored_ - - - true - links - ignored_ - - - - - - - - - - - - - - - - - - - - - search - solrpingquery - all - - - - - - - explicit - true - - - - - - - - - - - - textSpell - - - - - - default - name - spellchecker - - - - - - - - - - - - - - - - - false - false - 1 - - - spellcheck - - - - - - - - - - true - - - tvComponent - - - - - - - - - default - - - org.carrot2.clustering.lingo.LingoClusteringAlgorithm - - - 20 - - - clustering/carrot2 - - - ENGLISH - - - stc - org.carrot2.clustering.stc.STCClusteringAlgorithm - - - - - - - true - default - true - - name - id - - features - - true - - - - false - - edismax - - text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0 manu^1.1 cat^1.4 - - *:* - 10 - *,score - - - clustering - - - - - - - - - - true - - - terms - - - - - - - - string - elevate.xml - - - - - - explicit - - - elevator - - - - - - - - - - - 100 - - - - - - - - 70 - - 0.5 - - [-\w ,/\n\"']{20,200} - - - - - - - ]]> - ]]> - - - - - - - - - - - - - - - - - - - - - ,, - ,, - ,, - ,, - ,]]> - ]]> - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - *:* - - - - - - - - /etc/solr/data-config.xml - - - - - -- libgit2 0.21.2