You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Andrew Shumway (JIRA)" <ji...@apache.org> on 2017/02/24 16:21:44 UTC

[jira] [Created] (CONNECTORS-1386) add user comments to confluence

Andrew Shumway created CONNECTORS-1386:
------------------------------------------

             Summary: add user comments to confluence
                 Key: CONNECTORS-1386
                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1386
             Project: ManifoldCF
          Issue Type: Improvement
          Components: Confluence connector
    Affects Versions: ManifoldCF 2.6
            Reporter: Andrew Shumway


The confluence crawler skips comments.  For a site which uses this as a recorded collaboration platform the comments often are where the text is which needs to be searched.

I've found that by adding `children.comment.body.view` to the `expand` querystring field you can get one level of comments.  Subsequent levels can be added to the response by adding {{children.comment.children.comment.body.view}} for the second level.  3rd, 4th, 5th levels of comments can be added with the 5th being {{children.comment.children.comment.children.comment.children.comment.children.comment.body.view}}

I realize that this doesn't get 100% of the comments but 5 levels of nesting seems like a reasonable chunk to capture. 

An alternative would be to crawl comments separately and set the page-type to 'comment' rather than 'page'.  While this also has value I think fetching the comments along with the page requests offers the biggest bang for the buck.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)