9

From what I have read it seems like you have to use Solr to have PDF and Word attachments indexed and returned in a search. I have Solr working with Drupal but I think I need Tika working on Solr in order to do the document indexing. There is very little documentation I can find for Tika. Does anybody know where a good source for this is? Is there a better/easier way to have search in Drupal index attached documents?

2
  • What version of drupal?
    – mpdonadio
    Oct 27, 2011 at 16:26
  • Drupal 7. See answer below. Apache Solr Attachments worked for me.
    – John81
    Oct 27, 2011 at 18:41

3 Answers 3

5

To help you, you've this nice module Apache Solr Attachments. If you download the module you'll have a README.txt that give you some clues how to help you install and configure Tika.

1
  • 1
    I think I looked at that and didn't think it would work with Drupal 7. It does and was pretty straight forward to install and configure. Thanks!
    – John81
    Oct 27, 2011 at 18:35
1

We have used Search Files before with success, but I think the last time we used it was two years ago. Note that there are server side requirements for executables to do the searching, and that there isn't a Drupal 7 version available.

1
  • There is now a beta for Drupal 7
    – AdamS
    Nov 13, 2017 at 8:34
0

I discovered Search File Attachments, which has support for both Drupal 7/8 and a variety of file types.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.