Hello all,
So I've been gnashing away at trying to implement a means to index/search uploaded files to our test site. I've spent the better part of 3 days (continuously) working on implementing both search files and apache solr. I've tried both 5.x and 6.x versions, on (what must be) 20 different drupal installations.
I will say that after tweaking the .install file for search files, and manually creating the search_files_files table in MySQL, that I had ONE test work successfully (the uploaded file made it into the search_files_files and search_dataset tables - and was searchable from the site. However, subsequent uploads failed.
Long story short, has anyone here been able to successfully implement either of these two methods, for reliably being able to upload file attachments, and later search those contents? I've had different levels of success (sometimes the files are uploaded, and the PDF helper correctly parses the file, adding the content to the appropriate MySQL table, but the contents aren’t showing up in search results, no matter how many times i re-index the site, and/or run the manual cron).
I hope someone can brighten up my day! :)
For what it's worth, I'm definitely going to write-up a nice community tutorial for one method or the other, once I've been able to produce some reliable results.
Comments
(supplement) tried the dev
(supplement)
tried the dev version of search_files (which incorporates the search_attachments project work), still with no luck... i HAVE to believe that there are other drupalers out there that have working/production sites in need of true file indexing/searching...
please, someone show me the error of my ways! :)
(supplement) I just tried
(supplement)
I just tried the 6.x dev snapshot of apachesolr (as I would really prefer to implement this search functionality)... again, no luck...
clearly, I'm missing some sort of fundamental step(s)... there are several sites currently using this feature (as evidenced by the modules homepage here), as well as several links to docs and videos...
I'm going to try my luck with those as well... here's hoping! :)
my latest test seems to have
my latest test seems to have shown that search_files works (only?) when files are simply uploaded to a site folder (and not associated with any particular node)... however, even that seemed to have only worked once, as subsequent uploads failed to get parsed with the pdf helper, and loaded into MySQL...
thoughts? anyone? :)