A problem with the integration of SOLR and Tomcat

Source: Internet
Author: User
Tags glob solr tomcat

Recently, when consolidating SOLR and Tomcat, you encountered a problem:

HTTP Status-{msg=solrcore ' Collection1 ' is not available due to Init failure:could not load conf for core Collectio N1:copyfield Source: ' includes ' is not a glob, and doesn ' t match any explicit field or DynamicField. Schema file is D:\solrhome\collection1\conf\schema.xml,trace=org.apache.solr.common.solrexception:solrcore ' Collection1 ' isn't available due to Init failure:could not load conf for core Collection1:copyfield Source: ' Includes ' is not a glob and doesn ' t match any explicit field or DynamicField. Schema file is D:\solrhome\collection1\conf\schema.xml

The field ' includes ' could not be associated or could not be loaded, and the field was eventually found in the Schema.xml file:

<copyfield source= "Cat" dest= "text"/>
<copyfield source= "name" dest= "text"/>
<copyfield source= "Manu" dest= "text"/>
<copyfield source= "Features" dest= "text"/>
<copyfield source= "includes" dest= "text"/>
<copyfield source= "Manu" dest= "Manu_exact"/>

After the field is commented, after saving and re-tomcat, the integration succeeds.

<!--<copyfield source= "includes" dest= "text"/>--

After that, my friend told me he had this problem, and his solution was to change Tomcat to 32-bit, and then he succeeded.

Because his JDK is also 32 bits, and my JDK is 32 bit, but I don't know how much my tomcat is, if you

If you encounter this problem, you can try both of these methods.

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.