We are currently storing the Drupal path in the index, but reconstructing the node path for search results. It might be bettter to use the sotred path, since then at index time the doc can be altered to point to some other Drupal path (e.g. a View or some sub-tab) that's a preferred display of the node content.

CommentFileSizeAuthor
#1 use-path-453182-1.patch1.27 KBpwolanin

Comments

pwolanin’s picture

Title: REquest and use stored path rather than forcing node/$nid » Request and use stored path rather than forcing node/$nid
StatusFileSize
new1.27 KB

simple patch

pwolanin’s picture

Status: Active » Needs review
anarchivist’s picture

+1 - we'd prefer to be able to just paths as we're passing stuff into Solr that are things other than nodes.

pwolanin’s picture

Status: Needs review » Fixed

committed to 6.x

pwolanin’s picture

Status: Fixed » Closed (fixed)