lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Imbeault <>
Subject Re: Facet performance with heterogeneous 'facets'?
Date Fri, 22 Sep 2006 04:34:43 GMT
I upgraded to the most recent Solr build (9-22) and sadly it's still 
really slow. 800 seconds query with a single facet on first_author, 15 
millions documents total, the query return 180. Maybe i'm doing 
something wrong? Also, this is on my personal desktop; not on a server. 
Still, I'm getting 0.1 seconds queries without facets, so I don't think 
thats the cause. In the admin panel i can still see the filtercache 
doing millions of lookups (and tons of evictions once it hits the maxsize).

Here's the field i'm using in schema.xml :
<field name ="first_author" type="string" indexed="true" stored="true"/>

This is the query :
q="hiv red 

I'll do more testing on the weekend,

Michael Imbeault
CHUL Research Center (CHUQ)
2705 boul. Laurier
Ste-Foy, QC, Canada, G1V 4G2
Tel: (418) 654-2705, Fax: (418) 654-2212

Yonik Seeley wrote:
> On 9/21/06, Yonik Seeley <> wrote:
>> Hang in there Michael, a fix is on the way for your scenario (and
>> subscribe to solr-dev if you want to stay on the bleeding edge):
> OK, the optimization has been checked in.  You can checkout from svn
> and build Solr, or wait for the 9-22 nightly build (after 8:30 EDT).
> I'd be interested in hearing your results with it.
> The first facet request on a field will take longer than subsequent
> ones because the FieldCache entry is loaded on demand.  You can use a
> firstSearcher/newSearcher hook in solrconfig.xml to send a facet
> request so that a real user would never see this slower query.
> -Yonik

View raw message