Re: Custom Sorting Algorithm

2009-02-04 Thread Yonik Seeley
On Wed, Feb 4, 2009 at 4:45 PM, wojtekpia wrote: > Ok, so maybe a better question is: should I bother trying to change the > "sorting" algorithm? I'm concerned that with large data sets, sorting > becomes a severe bottleneck (this is an assumption, I haven't profiled > anything to verify). No...

Re: Custom Sorting Algorithm

2009-02-04 Thread wojtekpia
ity queue of size n is > filled with all of the matching documents. The ordering in the priority > queue is the sort. The on Sort method orders by relevance score - the > Sort method orders by field, relevance, or doc id. > -- View this message in context: http://www.nabble.com/

Re: Custom Sorting Algorithm

2009-02-04 Thread Mark Miller
on Sort method orders by relevance score - the Sort method orders by field, relevance, or doc id. - Mark wojtekpia wrote: That's not quite what I meant. I'm not looking for a custom comparator, I'm looking for a custom sorting algorithm. Is there a way to use quick sort o

Re: Custom Sorting Algorithm

2009-02-04 Thread wojtekpia
That's not quite what I meant. I'm not looking for a custom comparator, I'm looking for a custom sorting algorithm. Is there a way to use quick sort or merge sort or... rather than the current algorithm? Also, what is the current algorithm? Otis Gospodnetic wrote: > > >

Re: Custom Sorting Algorithm

2009-02-04 Thread Otis Gospodnetic
he.org > Sent: Wednesday, February 4, 2009 2:28:56 PM > Subject: Custom Sorting Algorithm > > > Is an easy way to choose/create an alternate sorting algorithm? I'm > frequently dealing with large result sets (a few million results) and I > might be able to benefit domain kn

Custom Sorting Algorithm

2009-02-04 Thread wojtekpia
Is an easy way to choose/create an alternate sorting algorithm? I'm frequently dealing with large result sets (a few million results) and I might be able to benefit domain knowledge in my sort. -- View this message in context: http://www.nabble.com/Custom-Sorting-Algorithm-tp21837721p218