RE: Sorting Options for Query Results

2001-11-19 Thread Jeff Kunkle
, Jeff -Original Message- From: Doug Cutting [mailto:[EMAIL PROTECTED]] Sent: Friday, November 16, 2001 5:47 PM To: 'Lucene Users List' Subject: RE: Sorting Options for Query Results This is not easy to do efficiently. The efficiency of the search code depends on not constructing Document

RE: Sorting Options for Query Results

2001-11-19 Thread Doug Cutting
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] I think this still works if the the document number continue to increase by one when documents are added incrementally. Does anyone know if this is true (I haven't looked at the code yet). Yes, that is true, so long as you do not delete

RE: Sorting Options for Query Results

2001-11-16 Thread Winton Davies
Hi, I was wondering why reader.document(i) is relatively slow ? Given that it is, perhaps could anyone tell me if this would be work? I'm currently trying to create a fast lookup, and the reader.doc(i) is quite slow. Question -- could I create this an array in the insertion order at