Thanks,
Yes this is the work around I am currently doing.
Still wondering is the sort method can be used alone.
On 29 June 2011 18:34, Michael Ryan wrote:
> You could try adding a new int field (like "typeSort") that has the desired
> sort values. So when adding a document with type:car, als
You could try adding a new int field (like "typeSort") that has the desired
sort values. So when adding a document with type:car, also add typeSort:1; when
adding type:van, also add typeSort:2; etc. Then you could do "sort=typeSort
asc" to get them in your desired order.
I think this is also po