AamAadmiParty / india-standalone-drupal

A drupal based website that currently powers http://aamaadmiparty.org/, the "main" site. It is different from other AAP websites in drupal for primarily large scale email sending capabilities, among many other small things. (This website is a contender for merging with 'regional-domainsite-drupal' reposiroty when the latter is ready)
GNU General Public License v2.0
0 stars 1 forks source link

Configure Apache solr with drupal 7, and make search fast & efficient.. #119

Closed tkuldeep closed 10 years ago

tkuldeep commented 10 years ago

Configure Apache solr with drupal 7, and make search fast & efficient.

tkuldeep commented 10 years ago

@sumeetpareek

Also I am not sure, that apache solr is installed on AAP web servers.. I checked by running this command sudo service solr status, it responded service is unrecognized.

sumeetpareek commented 10 years ago

@tkuldeep This is how things are currently set up as sent by @letsbringachange over email

WEB 01
ubuntu@ip-10-142-154-47:~$ ps -ef | grep java
ubuntu    7562     1  0 Feb05 ?        00:00:47 java -Xmx1025m -DSTOP.PORT=8079 -DSTOP.KEY=stopkey -jar /opt/ebs/vol1/aap/solr/example/start.jar

ubuntu@ip-10-142-154-47:~$  netstat -anp | grep 7562
tcp6       0      0 127.0.0.1:8079          :::*                    LISTEN      7562/java
tcp6       0      0 :::8983                 :::*                    LISTEN      7562/java

WEB 02
ubuntu@ip-10-142-85-176:~$ ps -ef | grep java
ubuntu   22781     1  0 Feb05 ?        00:00:50 java -Xmx1025m -DSTOP.PORT=8079 -DSTOP.KEY=stopkey -jar /opt/ebs/vol1/aap/solr/example/start.jar

ubuntu@ip-10-142-85-176:~$ netstat -anp | grep 22781
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp6       0      0 127.0.0.1:8079          :::*                    LISTEN      22781/java
tcp6       0      0 :::8983                 :::*                    LISTEN      22781/java

SOLR is listening on port 8079 and 8983 on both machines.

and

To start solr use shell script: /opt/ebs/vol1/aap/solr/startSolr.sh
tkuldeep commented 10 years ago

@sumeetpareek @ankurshrivastav @letsbringachange

For searching keyword in national site the url is http://www.aamaadmiparty.org/search/site/.

sumeetpareek commented 10 years ago

Done.