Bug 1021701 - RFE: Expose topic keywords through REST API
RFE: Expose topic keywords through REST API
Product: PressGang CCMS
Classification: Community
Component: REST-API (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: 1.3
Assigned To: Matthew Casperson
Depends On:
  Show dependency treegraph
Reported: 2013-10-21 16:28 EDT by Matthew Casperson
Modified: 2014-08-04 18:27 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-10-21 16:50:34 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Matthew Casperson 2013-10-21 16:28:39 EDT
The REST api should expose the keywords found in a topic as an optional, expandable property on a topic's JSON representation. This would open up the possibility of matching topic together, as well as provide a way to match topics to other external content.
Comment 1 Matthew Casperson 2013-10-21 16:50:34 EDT
This has been deployed as part of the 1.3 hotfix.

Expand the keywords property to view the list of topic keywords.

StringConstant 73 is used to define stop words (i.e. words that should not be keywords)

IntegerConstants 2 - 6 define the variables that determine how the keywords are generated. They map to the settings in the Lucene MoreLikeThis class (http://lucene.apache.org/core/3_0_3/api/contrib-queries/org/apache/lucene/search/similar/MoreLikeThis.html).

The constants are read at runtime, and so can be used to tweak the generation of the keywords in real time.

Note You need to log in before you can comment on or make changes to this bug.