Right now foo.example.com/search.pl?query=bar only finds stories
with "bar" that have a primaryskid pointing to foo. It instead needs
to find stories with "bar" that have a story_topics_rendered for
foo's nexus, which could be a significantly larger set of results.
Logged In: YES
user_id=596132
Bouncing back to you for comment.
This is easy enough to do since we're essentially doing just
a topic search when we do a section search.
My question is how to handle when restrictions by section
AND topic are specified. This means verifying a given story
has both tids in story_topics_rendered. I'm not sure what
the best way to do that with a query would be. Select
stoids with the first tid, and then using that stoid list to
restrict the search by the second tid seems less than ideal.
I guess other options include only allowing them to filter
by topics, or just verify the stories has one of those tids.