Erik Hatcher wrote:
What field type is chapterTitle? I'm betting it is an analyzed field with multiple values (tokens/terms) per document. To successfully sort, you'll need to have a single value per document - using copyField can help with this to have both a searchable field and a sortable version.
does this apply to facet fields as well? I noticed that that if I set facet.sort="true" the results are indeed sorted by count... until the counts are the same, after which they are in random order (instead of ascii alpha).
--Geoff