开发者

Solr 3.1 Admin Interface

开发者 https://www.devze.com 2023-02-27 14:50 出处:网络
I am using Solr 1.4 , by default it comes with web application deployed as \"solr.war\" in webapps directory in example .

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

0

精彩评论

暂无评论...
验证码 换一张
取 消