Closed (duplicate)
Project:
Apache Solr Attachments
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Jun 2011 at 05:32 UTC
Updated:
11 Apr 2012 at 08:47 UTC
Jump to comment: Most recent file
Comments
Comment #1
pwolanin commentedNo, it uses path on purpose. url is there for multi-site search use.
You need to explain the bug in much more detail. What's you've provided is not enough to even understand the bug. How are you indexing files?
Comment #2
drasgardian commentedThe files are filefields with the upload destination set to private.
I'm using apachesolr_attachments to index them and I'm extracting content from the documents using the remote solr server.
Without the patch, the search results (the ones that link to documents rather than nodes) link to the absolute filesystem path of the documents.
If this wasn't the correct way to correct the problem though, I expect I should be re-posting the issue to the apachesolr_attachments module issue list.
Comment #3
pwolanin commentedYes, file-related problems should be handled in the attachments module.
Comment #4
Monty-2 commentedThe attached patch replace the link with the url of the file $doc object.
Comment #5
nick_vhThis is now a duplicate of #1393540: Upgrade apachesolr_attachments to co-operate with latest beta of apachesolr
Comment #6
nick_vh