Skip to content
This repository has been archived by the owner on Sep 11, 2020. It is now read-only.

Hastags working improperly when a discussion also has tags in it #138

Open
jwidness opened this issue Dec 9, 2016 · 2 comments
Open

Hastags working improperly when a discussion also has tags in it #138

jwidness opened this issue Dec 9, 2016 · 2 comments

Comments

@jwidness
Copy link
Contributor

jwidness commented Dec 9, 2016

When I try to build a collection, it seems that if a video has a discussion going that has hashtags in it, those are the only tags the collection looks at. For example, when I built a collection looking for #mangabey, but excluding #lingeringshape, ACP0005xbw was incorrectly in that collection. When I added the #lingeringshape tag to the discussion, it then was correctly not in that collection.

@jwidness
Copy link
Contributor Author

jwidness commented Dec 9, 2016

I think I was slightly wrong -- sometimes the tag has to been in both the comments and the discussion, but I haven't really figured out when...

@jwidness
Copy link
Contributor Author

Ok, I think I've got it. It seems like the way it works is that when you create a collection, it independently evaluates the comments and the discussions, and if either one alone says to add that video, then the video gets added. So an example case that behaves in a way that I wouldn't expect is if you put tag1 in the comments, and tag2 in the discussion, and then ask for videos with tag1 AND tag2. Here it fails to get the video. There are even more fail cases when you use exclude.
I would expect the behavior to be: first create a union of all the tags that exist in either the comments or discussions, then evaluate the collection criteria.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant