Re: Multi-field distinct query

2007-05-16 Thread dontspamterry
Lucene > works. > > > > Thanks, > Grant > > On May 15, 2007, at 7:13 PM, dontspamterry wrote: > >> >> Hi all, >> >> I know this whole distinct query has been discussed a bunch of >> times for >> various scenarios because I'

Re: Multi-field distinct query

2007-05-16 Thread dontspamterry
quot; field would return you exactly what you want - one > document for each distinct parent. > > Steve > > dontspamterry wrote: >> Hi all, >> >> I know this whole distinct query has been discussed a bunch of times for >> various scenarios because I've been

Multi-field distinct query

2007-05-15 Thread dontspamterry
Hi all, I know this whole distinct query has been discussed a bunch of times for various scenarios because I've been scouring the forums trying to find a clue as to how I could solve my problem. I'm indexing a large set of parent-child term relations (~1 million). The number of unique terms is ab

Re: Paging sorted results

2007-05-14 Thread dontspamterry
> > - Mark > > On 5/14/07, dontspamterry <[EMAIL PROTECTED]> wrote: >> >> >> Hi there, >> >> Is there a way where I can page through sorted results? Say my query has >> 1000 hits (sorted by name field), but I want to return only 100 rows at a &g

Paging sorted results

2007-05-14 Thread dontspamterry
Hi there, Is there a way where I can page through sorted results? Say my query has 1000 hits (sorted by name field), but I want to return only 100 rows at a time. There was no search API() which takes a hit collector and a Sort, so I looked at the TopFieldDocCollector, but it only accepts the max