Re: what is the best way to sort by document ids

2005-11-01 Thread Michael D. Curtin
Oren Shir wrote: My documents contain a field called SORT_ID, which contains an int that increases with every document added to the index. I want my results to be sorted by it. Which approach will prove the best performance: 1) Zero pad SORT_ID field and sort by it as plain text. 2) Sort using

Re: what is the best way to sort by document ids

2005-11-01 Thread Erik Hatcher
On 1 Nov 2005, at 06:03, Oren Shir wrote: Hi, My documents contain a field called SORT_ID, which contains an int that increases with every document added to the index. I want my results to be sorted by it. Which approach will prove the best performance: 1) Zero pad SORT_ID field and sor

what is the best way to sort by document ids

2005-11-01 Thread Oren Shir
Hi, My documents contain a field called SORT_ID, which contains an int that increases with every document added to the index. I want my results to be sorted by it. Which approach will prove the best performance: 1) Zero pad SORT_ID field and sort by it as plain text. 2) Sort using SortField for