lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James liu" <liuping.ja...@gmail.com>
Subject Re: something i think about "facet"
Date Wed, 09 May 2007 01:01:44 GMT
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 <liuping.james@gmail.com>:
>
> aha,,i Just wanna show the count.
>
> thks, Hoss....
>
> 2007/5/8, Chris Hostetter <hossman_lucene@fucit.org>:
> >
> >
> > : 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
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message