Menu

#71 Sectional search.pl needs to find all stories

open
None
4
2004-07-15
2004-07-13
No

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.

Discussion

  • Tim Vroom

    Tim Vroom - 2004-07-13
    • assigned_to: nobody --> tvroom
     
  • Tim Vroom

    Tim Vroom - 2004-07-15
    • assigned_to: tvroom --> jamiemccarthy
     
  • Tim Vroom

    Tim Vroom - 2004-07-15

    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.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.