lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wain Wen" <>
Subject How to config a new analyzer
Date Sat, 25 Mar 2006 04:36:52 GMT

Solr is great, and I am a newbie for it. 
I deploy solr into tomcat, everything is ok. However, when I config a new analyzer in schema.xml
like this (lucene-analyzers-1.9.1.jar in lib path):
<fieldtype name="text_zh" class="solr.TextField">
    <analyzer class=""/>

I get below exception:

org.apache.solr.core.SolrException: Schema Parsing Failed
  at org.apache.solr.schema.IndexSchema.readConfig(
  at org.apache.solr.schema.IndexSchema.<init>(
Caused by: org.xml.sax.SAXParseException: The element type "fieldtype" must be terminated
by the matching end-tag "</fieldtype>".
  at Source)

I am not sure what is wrong. 
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message