Wouter Heijke wrote:
Basic rule is that the field you want to use for sorting has te be indexed.
It also has to be 'non-tokenized'. This explains why you have to make it a 'number' type. In the speeltuin lucene module I just added sorting (needed it for a project). To sort there, you have to specify a field as a keyword in the index definition. You can then specify it as one of the fields to sort on in the 'sortfields' parameter to pass to the lucene search function.
Anyway, took me some time to figure that out... -- Pierre van Rooden Mediapark, C 107 tel. +31 (0)35 6772815 "One in a million chances pop up nine times out of ten." _______________________________________________ Developers mailing list [email protected] http://lists.mmbase.org/mailman/listinfo/developers
