I am using Solr 1.4 , by default it comes with web application deployed as "solr.war" in webapps directory in example . I tried to upgrade to solr 3.1 , but this vesrion (3.1) doesn't have attached web admin interface , I copied the solr.war from 1.4 and put it in webapps in 3.1 but this will lunch the 1开发者_高级运维.4 version of solr rather than 3.1 , I wanted to use edismax feature in 3.1 and other features and improvements , Please how can I use ediamx or give me regular steps to upgrade to solr 3.1 or even compile from source !!! Thank you
Solr 3.1 does have a web admin interface. The web application archive is in the dist
directory of the official distribution, the file is named apache-solr-3.1.0.war
download the source package for 3.1 and run "ant example" to build the example solr application the new war for 3.1 should be under solr/example/webapp dir.
you will need to add the following config in your solrconfig.xml <luceneMatchVersion>LUCENE_31</luceneMatchVersion>
also make sure your "unique id" field in schema.xml is of type string
精彩评论