? SolrPhpClient
? contrib/apachesolr_custom_sort
? contrib/apachesolr_custom_sort_2.zip
Index: apachesolr.index.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/apachesolr/apachesolr.index.inc,v
retrieving revision 1.1.2.6.2.22
diff -u -p -r1.1.2.6.2.22 apachesolr.index.inc
--- apachesolr.index.inc	8 Apr 2010 15:08:36 -0000	1.1.2.6.2.22
+++ apachesolr.index.inc	8 Apr 2010 15:13:01 -0000
@@ -277,7 +277,7 @@ function apachesolr_add_tags_to_document
   foreach ($matches[1] as $key => $tag) {
     // We don't want to index links auto-generated by the url filter.
     if ($tag != 'a' || !preg_match('@(?:http://|https://|ftp://|mailto:|smb://|afp://|file://|gopher://|news://|ssl://|sslv2://|sslv3://|tls://|tcp://|udp://|www\.)[a-zA-Z0-9]+@', $matches[2][$key])) {
-      $document->{$tags_to_index[$tag]} .= ' '. $matches[2][$key];
+      $document->{$tags_to_index[drupal_strtolower($tag)]} .= ' '. $matches[2][$key];
     }
   }
 }
