aha,,win fix it。

Do u remember when i first use analyzer to support Chinese?

They have same question, so fix it is just to encode it 'UTF-8'.

In win, use "save as " and choose encode type to 'utf-8'

restart tomcat,,,and u will find it is ok.

my solrconfig.xml like this

   <lst name="invariants">
>       <str name="facet.field">forumname</str>
>       <str name="facet.query">forumname:娱乐</str>
>     </lst>
>




2007/5/8, James liu <[EMAIL PROTECTED]>:

aha,,i Just wanna show the count.

thks, Hoss....

2007/5/8, Chris Hostetter <[EMAIL PROTECTED]>:
>
>
> : if use 100 facets,,,it will cost more than use 10 facet.
>
> you can't show the top 10 unless you calculate the count for all of
> them.
>
> if you are using facet.field, Solr is already computing the count for
> *every* field value .. regardless of what facet.limit is set to  asking
> for 10 doesn't cost any less then asking for 100.
>
>
>
> -Hoss
>
>


--
regards
jl




--
regards
jl

Reply via email to