lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: Indexing and Searching Chinese
Date Tue, 18 Jan 2011 18:33:31 GMT
Bing Li,

You can configure different analyzers in your Solr's schema.xml.  Have a look at 
the example Solr schema.xml to see how that's done.
http://search-lucene.com/?q=%2Bchinese+analyzer+schema&fc_project=Solr&fc_type=wiki


There is also SmartCN Analyzer in Lucene that you could configure in Solr.  Have 
a look: http://search-lucene.com/?q=smartcn

http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters is a good page to 
know. :)

Otis
----
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/



----- Original Message ----
> From: Bing Li <lblabs@gmail.com>
> To: solr-user@lucene.apache.org
> Sent: Tue, January 18, 2011 12:39:13 PM
> Subject: Indexing and Searching Chinese
> 
> Hi, all,
> 
> Now I cannot search the index when querying with Chinese  keywords.
> 
> Before using Solr, I ever used Lucene for some time. Since I  need to crawl
> some Chinese sites, I use ChineseAnalyzer in the code to run  Lucene.
> 
> I know Solr is a server for Lucene. However, I have no idea know  how to
> configure the analyzer in Solr?
> 
> I appreciate so much for your  help!
> 
> Best,
> LB
> 

Mime
View raw message