lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shalin Shekhar Mangar <shalinman...@gmail.com>
Subject Re: multilanguage prototype
Date Tue, 27 Jan 2009 10:46:37 GMT
Did you commit after the updates?

2009/1/27 revathy arun <revas.34@gmail.com>

> Hi,
>
> I have downloade solr1.3.0 .
>
> I need to index chinese content ,for this i have defined a new field in the
> schema
>
> as
>
>
> <fieldType name="text_cjk" class="solr.TextField"
> positionIncrementGap="100">
>
> <analyzer type="index">
>
> <tokenizer class="solr.CJKTokenizerFactory"/>
>
> </analyzer>
>
> <analyzer type="query">
>
> <tokenizer class="solr.CJKTokenizerFactory"/>
>
> </analyzer>
>
> </fieldType>
>
>
>
> I beleive solr1.3 already has the cjkanalyzer by default.
>
> my schema in the testing stage has only 2 fields
>
> <field name="id" type="string" indexed="true" stored="true" required="true"
> />
>
> <field name="content" type="text_cjk" indexed="true" stored="false" />
>
>
>
> However when i index the chinese text into content , no index is being
> created.i dont see any errors in tomcat as well .
>
> this is only entry in tomcat on updating
>
> Jan 27, 2009 3:46:15 PM org.apache.solr.core.SolrCore execute
> INFO: [] webapp=/lang_prototype path=/update params={} status=0 QTime=191
>
>  I have attached the chinese text file for reference.
>
>
>
> Regards
>
> sujatha
>
>
>



-- 
Regards,
Shalin Shekhar Mangar.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message