Hi. I tried using apache-SOLR (http://drupal.org/project/apachesolr) integration with this QS 0.8
Now I need to replace the schema.xml and solrconfig.xml with the one from the module. But after I did that. SOLR showing much much errors. It doesn't happen on my old XAMPP.
So if anyone have some answers for this or could someone post the original QS SOLR xml, because I replaced mine without backup (yeah my bad)
Comments
Comment #1
sylv3st3r commentedUpdate :
Ok I found the problem
Need to un-comment the dataDir on solrconfig.xml from the module. To match QS directory structure
As for me, I use this :
${solr.data.dir:/tmp/tomcat6-tmp}
And it works now
Comment #2
MichaelCole commentedHi Sylv3st3r,
I'm glad you figured it out. To be honest, I haven't experimented much with SOLR. If you find some tips on getting it to work with Drupal, attach them to this issue, and I'll make sure they get into the documentation. (Or create a new page yourself).
Glad you got it working,
Mike
Comment #3
MichaelCole commentedComment #4
sylv3st3r commentedSorry for the late update, so this what people should do to make the SOLR usable by http://drupal.org/project/apachesolr module
1. Edit the solrconfig.xml on solr module, find this line :
2. Remove the comment wrapper :
<!--and-->3. Change
<dataDir>${solr.data.dir:./solr/data}</dataDir>into<dataDir>${solr.data.dir:/tmp/tomcat6-tmp}</dataDir>4. Save it
5. Copy solrconfig.xml and schema.xml to /usr/share/solr/conf (for anyone getting permission error for this, use sudo nautilus)
6. Restart tomcat server (sudo /etc/init.d/tomcat6 restart)
7. Check http://localhost:8080/solr/admin/, if there is no errors, congrats, you have a running SOLR server ready for drupal
NOTE to developer : Should add a documentations for several modules, since it's included already on quickstart, such as this SOLR, APC, etc