This is due to the schema.xml change a while back to type "text", and Solr can only sort on "string" and other types.

Patch comes from part of another patch by @robertDouglass. It patches apachesolr.module and schema.xml to use a separate field called "stitle" with type string to sort by.

Tested under 5.x-1.x-DEV

CommentFileSizeAuthor
stitle.patch1.95 KBjanusman

Comments

robertdouglass’s picture

Status: Needs review » Fixed

Fixed in Drupal 5 and 6.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.