Hello,
I’m having trouble with the Apache Solr Attachments. I’ve looked through and tried the solutions for the 7.x-1.0 version (http://drupal.org/node/784612); however, they weren’t working. Altering the settings.php file for $conf causes trouble with Tika extraction. I tried the code change solution for apachesolr_attachment.install file, but that didn’t help either. Are there any other suggestions?
Thanks!

Comments

Panther256’s picture

This appears to be an orphaned post. I ran into the same problems and ultimately I realized that the $conf setting in settings.php is the path and the java.exe file. For example:

$conf = array(  'apachesolr_attachments_java' => 'C:/Progra~1/Java/jre7/bin/java.exe -Xms20m -Xmx64m',);

*Note: I also went safe and follwed 8.3 specifications for pathing.

This would be for the local indexing feature of Tika. You also have the remote option to use the SOLR server.