On 24 May 2012, at 10:19, Scott Wilson wrote:
>
> On 23 May 2012, at 16:38, Kris Popat wrote:
>
>> A couple of quick questions
>>
>> There are two search function stubs in WidgetProfileService that I'm not sure about
>>
>> searchWidgetProfilesOrderedByPopularity
>>
>> How should popularity be calculated, I've already implemented ...OrderedByRating using WidgetStats.averageRating
>>
>> is popularity an amalgam of downloads and embeds or do I need to factor in ratings too?
>
> I'd expect some combo of views, downloads and embeds.
Okay, what I suggest is in order of importance
embeds - as ppl are actually using the widget
downloads - as ppl are trying it out
views - ppl were interested in the description or widget type
I just have to play around with weighting factors for each to do the comparison
how about
embeds 1:1
download 1:4
views 1:20
I'll make it so these factors can be changed in a config file.
>
>>
>> secondly...
>>
>> searchWidgetProfilesOrderedByRelevance
>>
>> This seems to be pointing towards the weighting factor of the affordances idea, but this isn't implemented. I can implement this but it will mean messing with the data model a bit. Is this correct, or was there something else that ppl had in mind?
>
> This is the default returned from Solr - results are ranked according to relevance match to the query terms. If we want to factor in affordances, we'd have to push those into the Solr record as an additional indexed and weighted field used in search.
Okay this is fine for now then
I have some ideas about affordances/unctionalities which might be best handled by a new database table - I'll experiment with this a little and maybe push to a branch so others can try out.