Bug 1021701 - RFE: Expose topic keywords through REST API
Summary: RFE: Expose topic keywords through REST API
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: PressGang CCMS
Classification: Community
Component: REST-API
Version: 1.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 1.3
Assignee: Matthew Casperson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-21 20:28 UTC by Matthew Casperson
Modified: 2014-08-04 22:27 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-21 20:50:34 UTC
Embargoed:


Attachments (Terms of Use)

Description Matthew Casperson 2013-10-21 20:28:39 UTC
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 20:50:34 UTC
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.