I am using Solr for my front-end webapp and in order to install it in Ubuntu 10.04 I did a simply apt-get solr-jetty and everything was fine.
The problem now is that I need some new features of Solr that exist in the latest release of Solr, but the version of Solr in the ubuntu package is still at 1.4!
My question is how can I upgrade the Solr version to the latest? Can someone give me some tips how can I do that plz????
EDIT: or may how to make a clean install of Solr with Jetty..
EDIT: at the end wasn't so difficult to install Solr with an already installed Jetty in my VPS.In case that someone found it helpfull I followed the bellow steps:
- Placed the solr.war file in the Dist folder in the webapps folder of jetty
- Placed the example/solr folder into the /var/share/solr folder in my machine as the Solr home folder
- Edited the solrconfig.xml and schema.xml into my needs
- Finally in order Jetty knows where is the Solr Home Dir, I edited the Jetty file into the /etc/default directory, by uncomment the JAVA_OPTIONS var and add it the following option: JAVA_OPTIONS="-Dsolr.solr.home=/var/share/solr $JAVA_OPTIONS"
and that's it. I am not sure about the last step if it is the best way to do it but since Solr is working, should be the right way (solr documentation says something about JNDI lookup but I didn't manage to find it out).
Cheers
UPDATE: playing with a small ubuntu machine in digitalocean i found this very useful article on how to install the latest solr version in ubuntu. Disclaimer: i am not working or have any relationship with digitalocean..