Re: field queries seem slow

2009-11-05 Thread Lance Norskog
gt; - Original Message >> From: mike anderson >> To: solr-user@lucene.apache.org >> Sent: Thu, November 5, 2009 11:34:59 AM >> Subject: Re: field queries seem slow >> >> On production our servers are restarted very rarely (once a month). But this >

Re: field queries seem slow

2009-11-04 Thread Erick Erickson
By readers, I meant your searchers. Perhaps you were shutting down your servers? The warming isn't to pre-load authors, it's to pre-populate, particularly, sort fields. Which are then kept in caches. There is considerable overhead in loading the sort field the first time you sort by it. So, my que

Re: field queries seem slow

2009-11-04 Thread mike anderson
Erik, we are doing a sort by date first, and then by score. I'm not sure what you mean by readers. Since we have nearly 6M authors attached to our 20M documents I'm not sure that autowarming would help that much (especially since we have very little overlap in what users are searching for). But ma

Re: field queries seem slow

2009-11-02 Thread Lance Norskog
This searches author:albert and (default text field): einstein. This may not be what you expect? On Mon, Nov 2, 2009 at 2:30 PM, Erick Erickson wrote: > H, are you sorting? And has your readers been reopened? Is the > second query of that sort also slow? If the answer to this last question is

Re: field queries seem slow

2009-11-02 Thread Erick Erickson
H, are you sorting? And has your readers been reopened? Is the second query of that sort also slow? If the answer to this last question is "no", have you tried some autowarming queries? Best Erick On Mon, Nov 2, 2009 at 4:34 PM, mike anderson wrote: > I took a look through my Solr logs this

field queries seem slow

2009-11-02 Thread mike anderson
I took a look through my Solr logs this weekend and noticed that the longest queries were on particular fields, like "author:albert einstein". Is this a result consistent with other setups out there? If not, Is there a trick to make these go faster? I've read up on filter queries and use those when