Re: PriorityQueue:initialize consistently showing up as hot spot while profiling

2012-10-10 Thread Aaron Daubman
Hi Mikhail, On Fri, Oct 5, 2012 at 7:15 AM, Mikhail Khludnev wrote: > okay. huge rows value is no.1 way to kill Lucene. It's not possible, > absolutely. You need to rethink logic of your component. Check Solr's > FieldCollapsing code, IIRC it makes second search to achieve similar goal. > Also ch

Re: PriorityQueue:initialize consistently showing up as hot spot while profiling

2012-10-05 Thread Mikhail Khludnev
okay. huge rows value is no.1 way to kill Lucene. It's not possible, absolutely. You need to rethink logic of your component. Check Solr's FieldCollapsing code, IIRC it makes second search to achieve similar goal. Also check PostFilter and DelegatingCollector classes, their approach can also be han

Re: PriorityQueue:initialize consistently showing up as hot spot while profiling

2012-10-05 Thread Aaron Daubman
On Fri, Oct 5, 2012 at 4:33 AM, Mikhail Khludnev wrote: > what's the value of rows param > http://wiki.apache.org/solr/CommonQueryParameters#rows ? Very interesting question - so, for historic reasons lost to me, we pass in a huge (1000?) number for rows and this hits our custom component, wh

Re: PriorityQueue:initialize consistently showing up as hot spot while profiling

2012-10-05 Thread Mikhail Khludnev
what's the value of rows param http://wiki.apache.org/solr/CommonQueryParameters#rows ? On Fri, Oct 5, 2012 at 6:56 AM, Aaron Daubman wrote: > Greetings, > > I've been seeing this call chain come up fairly frequently when > debugging longer-QTime queries under Solr 3.6.1 but have not been able >

PriorityQueue:initialize consistently showing up as hot spot while profiling

2012-10-04 Thread Aaron Daubman
Greetings, I've been seeing this call chain come up fairly frequently when debugging longer-QTime queries under Solr 3.6.1 but have not been able to understand from the code what is really going on - the call graph and code follow below. Would somebody please explain to me: 1) Why this would show