Hi Team,

I am working on Solr POC. I am struck with Traditional Chinese indexing and 
search. Below I have summarized what I tried. Please help me on this.

What is working ?

  *   I setup solr locally
  *   Indexed few articles successfully(English and European language).
  *   Querying Solr with pattern :
Title : *Corona Virus 2023*
Solr Query Parser splits above sentence for each word like Corona, Virus, 2023 
and brings search result which is match for each word.

I am using StandardTokenizerFactory and SynonymGraphFilterFactory in 
managed-schema.xml (default).Also using text_general type in my Index 
model(Dynamic Field).

[cid:image001.png@01D9BAEF.7F41F780]

This works great with English and European languages(German,Spanish,Italian 
etc).

What is not working?


  *   I have added ICUTokenizerFactory and CJKWidthFilterFactory for 
traditional Chinese article into managed-schema.xml.
  *   I indexed Chinses article successfully.
  *   When I tried search same like English, not getting any result.
Pattern  - title: *三大理由,非投資等級債券的投資時機已到* not returning any result.

Managed-schema.xml

[cid:image002.png@01D9BAF0.8DBF1D50]

Filed Types :

<field name="title" type="text_mandarin" indexed="true" stored="true" 
multiValued="false"/>
<dynamicField name="*_t" type="text_mandarin" indexed="true" stored="true" 
multiValued="false"/>
<dynamicField name="*_txt" type="text_mandarin" indexed="true" stored="true"/>


I don’t know where I am doing mistake. Please guide me.

Thanks You,
Madhu







............................................................................

For further important information about AllianceBernstein please click here
http://www.alliancebernstein.com/disclaimer/email/disclaimer.html

Reply via email to