manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Shumway (JIRA)" <>
Subject [jira] [Created] (CONNECTORS-1386) add user comments to confluence
Date Fri, 24 Feb 2017 16:21:44 GMT
Andrew Shumway created CONNECTORS-1386:

             Summary: add user comments to confluence
                 Key: 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

View raw message