Re: Question: Pagination with multi index box

2007-05-15 Thread Mike Klaas
On 14-May-07, at 10:05 PM, James liu wrote: 2007/5/15, Mike Klaas <[EMAIL PROTECTED]>: I'm not ignoring it: I'm implying that the above is the correct descending score-sorted order. You have to perform that sort manually. i mean merged results(from 60 p) and sort it, not solr's sort. ev

Re: Question: Pagination with multi index box

2007-05-14 Thread James liu
maybe full-text search sort correct not very import. 2007/5/15, James liu <[EMAIL PROTECTED]>: 2007/5/15, Mike Klaas <[EMAIL PROTECTED]>: > > On 14-May-07, at 8:55 PM, James liu wrote: > > > thks for your detail answer. > > > > but u ignore "sorted by score" > > > > p1, p2,p1,p1,p3,p4,p1,p1

Re: Question: Pagination with multi index box

2007-05-14 Thread James liu
2007/5/15, Mike Klaas <[EMAIL PROTECTED]>: On 14-May-07, at 8:55 PM, James liu wrote: > thks for your detail answer. > > but u ignore "sorted by score" > > p1, p2,p1,p1,p3,p4,p1,p1 > > maybe their max score is lower than from p19,p20. > I'm not ignoring it: I'm implying that the above is the c

Re: Question: Pagination with multi index box

2007-05-14 Thread Mike Klaas
On 14-May-07, at 8:55 PM, James liu wrote: thks for your detail answer. but u ignore "sorted by score" p1, p2,p1,p1,p3,p4,p1,p1 maybe their max score is lower than from p19,p20. I'm not ignoring it: I'm implying that the above is the correct descending score-sorted order. You have to pe

Re: Question: Pagination with multi index box

2007-05-14 Thread James liu
for example, i wanna query "lucene", it's numFound is 234300. and results should sorted by score. if u do, how to pagination and sort it's score? 2007/5/15, Mike Klaas <[EMAIL PROTECTED]>: On 14-May-07, at 7:15 PM, James liu wrote: > if i set rows=(page-1)*10,,,it will lose more result whi

Re: Question: Pagination with multi index box

2007-05-14 Thread James liu
thks for your detail answer. but u ignore "sorted by score" p1, p2,p1,p1,p3,p4,p1,p1 maybe their max score is lower than from p19,p20. so it will not sorted by score correctly. and if user click page 2 to see, how to show data? p1 start from 10 or query other partitions? 2007/5/15, Mike Kl

Re: Question: Pagination with multi index box

2007-05-14 Thread Mike Klaas
On 14-May-07, at 7:15 PM, James liu wrote: if i set rows=(page-1)*10,,,it will lose more result which fits query. how to set start when pagination. I'm not sure I understand the question. When combining results from partitions, you can't use startAt. You must always assemble the docs fro

Re: Question: Pagination with multi index box

2007-05-14 Thread Mike Klaas
On 14-May-07, at 6:49 PM, James liu wrote: 2007/5/15, Mike Klaas <[EMAIL PROTECTED]>: On 14-May-07, at 1:35 AM, James liu wrote: When you get up to 60 partitions, you should make it a multi stage process. Assuming your partitions are disjoint and evenly distributed, estimate the number of do

Re: Question: Pagination with multi index box

2007-05-14 Thread James liu
if i set rows=(page-1)*10,,,it will lose more result which fits query. how to set start when pagination. 2007/5/15, James liu <[EMAIL PROTECTED]>: 2007/5/15, Mike Klaas <[EMAIL PROTECTED]>: > > On 14-May-07, at 1:35 AM, James liu wrote: > > > if use multi index box, how to pagination with

Re: Question: Pagination with multi index box

2007-05-14 Thread James liu
2007/5/15, Mike Klaas <[EMAIL PROTECTED]>: On 14-May-07, at 1:35 AM, James liu wrote: > if use multi index box, how to pagination with sort by score > correctly? > > for example, i wanna query "search" with 60 index box and sort by > score. > > i don't know the num found from every index box wh

Re: Question: Pagination with multi index box

2007-05-14 Thread Mike Klaas
On 14-May-07, at 1:35 AM, James liu wrote: if use multi index box, how to pagination with sort by score correctly? for example, i wanna query "search" with 60 index box and sort by score. i don't know the num found from every index box which have different content. if promise 10 page wit

Question: Pagination with multi index box

2007-05-14 Thread James liu
if use multi index box, how to pagination with sort by score correctly? for example, i wanna query "search" with 60 index box and sort by score. i don't know the num found from every index box which have different content. if promise 10 page with sort score correctly, i think solr 's start is 0