Advertisement:

Author Topic: Junk Topics and Posts board  (Read 349 times)

Offline Sh@mbles

  • SMF Hero
  • ******
  • Posts: 4,853
  • Gender: Male
    • i30 Owners Club
Junk Topics and Posts board
« on: August 08, 2018, 08:57:51 AM »
Just wondering why some of my searches bring up results in board 21, to which I have no access?

Offline Illori

  • Project Manager
  • SMF Master
  • *
  • Posts: 49,578
Re: Junk Topics and Posts board
« Reply #1 on: August 08, 2018, 08:59:37 AM »
maybe they were recently deleted? can you provide links that are coming up?

Offline Sh@mbles

  • SMF Hero
  • ******
  • Posts: 4,853
  • Gender: Male
    • i30 Owners Club
Re: Junk Topics and Posts board
« Reply #2 on: August 08, 2018, 09:11:17 AM »
The links don't seem to last long. I just repeated my most recent search and the aforementioned entry no longer appears in the results.

My search term was "revert theme reset" (as a new post appeared by member Humph that I thought I'd seen an hour earlier) and I was right as the earlier post appeared in the Junk Topics and Posts board but not the live non-staff forum.

No big deal. Maybe it's a timing issue.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 69,110
    • StoryBB/StoryBB on GitHub
Re: Junk Topics and Posts board
« Reply #3 on: August 08, 2018, 10:22:15 AM »
Or the search indexer not being absolutely up to date (I vaguely recall it runs every 15 minutes)
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

Nothing turns to hate so bitter as what once was love.

Offline Sh@mbles

  • SMF Hero
  • ******
  • Posts: 4,853
  • Gender: Male
    • i30 Owners Club
Re: Junk Topics and Posts board
« Reply #4 on: August 08, 2018, 11:44:48 AM »
Is board 21 a recycle bin?

Offline d3vcho(void)

  • Sempiterno
  • Lead Localizer
  • SMF Hero
  • *
  • Posts: 2,752
  • Gender: Male
    • d3vcho on GitHub
Re: Junk Topics and Posts board
« Reply #5 on: August 08, 2018, 11:48:23 AM »
Yes
"Demons are like obedient dogs; they come when they're called"

d3vcho(void)

Offline Sh@mbles

  • SMF Hero
  • ******
  • Posts: 4,853
  • Gender: Male
    • i30 Owners Club
Re: Junk Topics and Posts board
« Reply #6 on: August 08, 2018, 11:49:18 AM »
Then it's an error to show up in search results for non-staff members?

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 69,110
    • StoryBB/StoryBB on GitHub
Re: Junk Topics and Posts board
« Reply #7 on: August 08, 2018, 12:58:55 PM »
I think the issue is that the search index lags behind the main database in terms of content.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

Nothing turns to hate so bitter as what once was love.

Offline Sh@mbles

  • SMF Hero
  • ******
  • Posts: 4,853
  • Gender: Male
    • i30 Owners Club
Re: Junk Topics and Posts board
« Reply #8 on: August 08, 2018, 01:26:10 PM »
I guess that might explain it.

Just wondered why {query_see_board} in the search function allowed me to see the name of the reycle bin and the post within it (although the link to the post denied me access).

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 69,110
    • StoryBB/StoryBB on GitHub
Re: Junk Topics and Posts board
« Reply #9 on: August 08, 2018, 01:29:17 PM »
Because query_see_board isn't invoked there. The presumption is that higher up the chain where the actual searching is done, query_see_board was already applied, and ordinarily that'd be fine. But here is not using any of the stock code, it's using Sphinx and the index just happened to be slightly behind (i.e. what was in the index had a different board id to what the actual DB had, but it was only matching up by post ids)
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

Nothing turns to hate so bitter as what once was love.

Offline Sh@mbles

  • SMF Hero
  • ******
  • Posts: 4,853
  • Gender: Male
    • i30 Owners Club
Re: Junk Topics and Posts board
« Reply #10 on: August 08, 2018, 01:30:20 PM »
My God, you're a smart cookie :P

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 69,110
    • StoryBB/StoryBB on GitHub
Re: Junk Topics and Posts board
« Reply #11 on: August 08, 2018, 01:31:14 PM »
I just happen to know how the search backend system works and I used to be on the Sphinx support team back in the day. ;)
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

Nothing turns to hate so bitter as what once was love.

Offline Sh@mbles

  • SMF Hero
  • ******
  • Posts: 4,853
  • Gender: Male
    • i30 Owners Club
Re: Junk Topics and Posts board
« Reply #12 on: August 08, 2018, 01:45:43 PM »
Something in the back of my mind led me to look at some historical PMs.

Lo, and behold...



Unfortunately, due to a possible bug in the PM system (which I'll report separately) no parts of my conversation in the PM show up.