Re: Sorting by field from a given 'offset'

2005-06-24 Thread Stephane Bailliez
Stephane Bailliez wrote: Hi all, "starting from document that has field f1 = a, give me the first n documents sorted by field 'z' ordered by asc/desc" To be more specific, that's something like: [...] // get the document field 'dt' from a search ... // search must occur starting from the d

Sorting by field from a given 'offset'

2005-06-24 Thread Stephane Bailliez
Hi all, I'm trying to do the following: "starting from document that has field f1 = a, give me the first n documents sorted by field 'z' ordered by asc/desc" Is it possible to build a complex query more efficient than: 1) search for the document where f1 = a 2) get the field f2 from this do