Removing enhancement listener from Contenthub
---------------------------------------------
Key: STANBOL-360
URL: https://issues.apache.org/jira/browse/STANBOL-360
Project: Stanbol
Issue Type: Improvement
Components: Content Hub
Reporter: Ali Anil Sinaci
Contenthub was keeping a graph of all enhancements by registering a listener to
the corresponding graph of TCManager. Instead of a listener, enhancements
should be retrieved upon submission of the content item and global enhancements
graph should be managed without a listener.
This improvement also brings additional features. Removal of any content item
should also remove the enhancements from the global enhancement graph. Any
change (edit functionality) on the content item should be reflected to the Solr
backend and global enhancements graph.
In addition to removal of the enhancementlistener, presentation of recently
submitted documents should be processed through Solr instead of the global
enhancements graph. This would decrease the dependency of the system to the
enhancements graph. If a document is submitted with no enhancements, it should
also be presented as a "recently submitted" document. Solr provides efficient
page&offset mechanism to support this feature.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira