[
http://opencast.jira.com/browse/MH-8894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=31085#comment-31085
]
Adam McKenzie commented on MH-8894:
-----------------------------------
Unfortunately I think each individual recording has its permissions set in the
Solr database as part of the access control list that gets uploaded at the time
of the publishing of the recording. The database in part 1 is either a
postgres, mysql or h2 database that has no concept about what permissions are
associated with each recording and just stores the actions of each user. In
hindsight the two steps will probably be reversed so that you limit the amount
of episodes that you are searching for in popularity.
> Search service needs to return popularity of recordings
> -------------------------------------------------------
>
> Key: MH-8894
> URL: http://opencast.jira.com/browse/MH-8894
> Project: Matterhorn Project
> Issue Type: Task
> Components: Administrative Tools
> Affects Versions: Trunk, 1.4, 1.3
> Reporter: Adam McKenzie
> Assignee: Adam McKenzie
>
> University of Cape Town has a need for viewings and watched time to be
> included in search results so that LTI integration and other services can
> display not only the most recent recordings but also the most popular.
> The idea is to add a new endpoint that has the following format:
> episodeWithPopularity.json?sid={sid}&order=DESCENDING&limit=10&offset=2
> This will be a two step process.
> 1. Querying the database through the user action service to return results
> from a series from most popular to least popular.
> 2. This is followed by using the search service to verify that the user has
> access to these recordings using the Solr search service.
> Once enough recordings have been reached the limit after the offset or we
> have run out of recordings we return the results.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
http://opencast.jira.com/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn
To unsubscribe please email
[email protected]
_______________________________________________