So if there are 10k matching rows, would it return an array of 10k IDs/score? Would that size not bog the memory?
Thanks to all for the feedbak. On Jan 7, 2008 7:33 PM, Carl.Vondrick <[EMAIL PROTECTED]> wrote: > > Hi, > You must return all the results, as Lucene must score each document to > sort > it correctly. > > Lucene is optimized so that data is only read on demand. When you do a > ->find(), Lucene returns just the object IDs and score. When you then ask > for information about the document, it looks up the document in the index > and returns that information. > > > iffy guy wrote: > > > > Is there a way to limit the number of rows for pagination in lucene? IF > > the > > file has millions of rows and returns say about 10k rows for a search > (all > > rows), the server's memory would bog down to load 10 k rows into memory, > > right? How are others handling this situation? > > > > > > -- > View this message in context: > http://www.nabble.com/Lucene-limit-for-pagination-tp14667540s16154p14680486.html > Sent from the Zend Framework mailing list archive at Nabble.com. > >
