Solr. NET course three solr5.5 ikanalyzer participle configuration

Source: Internet
Author: User
Tags solr

You also need to download the IK jar package before using IK, click Download , Then we configure the downloaded file

First step: Copy the Ikanalyzer2012ff_u2.jar file to the Tomcat directory Webapps\solr5.5\web-inf\lib

Step two: Copy IKAnalyzer.cfg.xml and Stopword.dic to the Tomcat directory webapps\solr5.5\web-inf\classes

The third step: Modify the D:\solr5.5\collection1\conf directory under the Managed-schema file, add the following node in the file

<fieldtype name= "Text_ik" class= "SOLR. TextField ">    <analyzer class=" Org.wltea.analyzer.lucene.IKAnalyzer "/></fieldtype>

Fourth step: Start Tomcat and enter HTTP://LOCALHOST:8080/SOLR5.5/in the browser Admin.html in the left menu of the page, select Core as Collection1, click the analysis (Funnel shape) menu, and in the right page filed the Value text box, enter the Chinese string to test the word breaker.

      

Solr. NET course three solr5.5 ikanalyzer participle configuration

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.