Index: apachesolr_attachments.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/apachesolr_attachments/apachesolr_attachments.module,v
retrieving revision 1.14
diff -u -p -r1.14 apachesolr_attachments.module
--- apachesolr_attachments.module	27 Oct 2009 21:57:13 -0000	1.14
+++ apachesolr_attachments.module	27 Oct 2009 23:45:18 -0000
@@ -477,7 +477,10 @@ function apachesolr_attachments_extract_
   // by apachesolr.module.
   $solr = apachesolr_get_solr();
   $filename = basename($filepath);
-  $params = array('resource.name' => $filename);
+  $params = array(
+    'resource.name' => $filename,
+    'extractFormat' => 'text', // Matches the -t command for the tika CLI app.
+  );
   // Construct a multi-part form-data POST body in $data.
   $boundary = '--' . md5(uniqid(time()));
   $data = "--{$boundary}\r\n";
