Minor changes to forum search configuration

Forum News, Announcements and any issues you're having with the forum
User avatar
xantia_v6
Forum Admin Team
Posts: 10804
Joined: 09 Nov 2005, 22:03
x 1387

Minor changes to forum search configuration

Unread post by xantia_v6 »

Following the maintenance on the forum software last week, I was unhappy with the degradation of page refresh time after submitting a post, sometimes bad enough to cause a Cloudflare timeout.

I have had a suspicion that this issue was caused by the search index updating which happens when a post is submitted.

So I have now reconfigured the search indexing system to operate asynchronously and early impressions indicate that this has had a good effect.
User avatar
mickthemaverick
Forum Admin Team
Posts: 20484
Joined: 11 May 2019, 17:56
x 7908

Re: Minor changes to forum search configuration

Unread post by mickthemaverick »

I'll drink to that!! :-D
I used to be indecisive, now I'm not so sure!
I used to ride on two wheels, but now I need all four!
User avatar
Paul-R
Moderating Team
Posts: 9094
Joined: 07 May 2009, 16:24
x 1890

Re: Minor changes to forum search configuration

Unread post by Paul-R »

You'd drink to anything! :rofl2:
As I get older I think a lot about the hereafter - I go into a room and then wonder what I'm here after.

Inside every old person is a young person wondering what the hell happened.

"Trying is the first step towards failure" ~ Homer J Simpson
User avatar
mickthemaverick
Forum Admin Team
Posts: 20484
Joined: 11 May 2019, 17:56
x 7908

Re: Minor changes to forum search configuration

Unread post by mickthemaverick »

Damn it, sussed again!! :beer: :beer: :beer: :beer: :beer:
I used to be indecisive, now I'm not so sure!
I used to ride on two wheels, but now I need all four!
User avatar
CitroJim
A very naughty boy
Posts: 54734
Joined: 30 Apr 2005, 23:33
x 8169

Re: Minor changes to forum search configuration

Unread post by CitroJim »

mickthemaverick wrote: 12 Jul 2026, 10:33 Damn it, sussed again!! :beer: :beer: :beer: :beer: :beer:
:lol: :lol:

This morning I find the forum is very fast, for both topic reads and writes. Looking good :-D
Jim

A bit of a Citroen AX fan...
User avatar
myglaren
Forum Admin Team
Posts: 28507
Joined: 02 Mar 2008, 13:30
x 5608

Re: Minor changes to forum search configuration

Unread post by myglaren »

Had a few very slow moments yesterday but seems much better today.

Or not. That took quite a while.
User avatar
xantia_v6
Forum Admin Team
Posts: 10804
Joined: 09 Nov 2005, 22:03
x 1387

Re: Minor changes to forum search configuration

Unread post by xantia_v6 »

OK, I will keep monitoring the situation and look for other culprits. In my experience the posts are being uploaded immediately, so other users (or the same user in another tab or browser) can see them immediately, but the browser tab that was used to make the post hangs for a while. This is probably due to some housekeeping task in the forum software, but I have not tracked it down yet.
User avatar
myglaren
Forum Admin Team
Posts: 28507
Joined: 02 Mar 2008, 13:30
x 5608

Re: Minor changes to forum search configuration

Unread post by myglaren »

It seems a bit random, the edit was quick, that upload was the only slow moment, may be at my end.
User avatar
xantia_v6
Forum Admin Team
Posts: 10804
Joined: 09 Nov 2005, 22:03
x 1387

Re: Minor changes to forum search configuration

Unread post by xantia_v6 »

I just made another configuration change on the forum server which may have some effect on this.
User avatar
Paul-R
Moderating Team
Posts: 9094
Joined: 07 May 2009, 16:24
x 1890

Re: Minor changes to forum search configuration

Unread post by Paul-R »

Within the last ten minutes I've made two posts and both times it was so slow to be registered that I genuinely thought that it hadn't gone through and clicked the post button again.

EDIT

I just timed this post and it took 5 seconds to register. That was not as long as the two previous ones as I didn't get the 'it hasn't registered' feeling.
As I get older I think a lot about the hereafter - I go into a room and then wonder what I'm here after.

Inside every old person is a young person wondering what the hell happened.

"Trying is the first step towards failure" ~ Homer J Simpson
User avatar
the-termin8r
(Donor 2025)
Posts: 333
Joined: 29 Dec 2022, 22:31
x 151

Re: Minor changes to forum search configuration

Unread post by the-termin8r »

I've noticed an issue with the search function recently.

If I go to my profile and scroll down to "search user's posts" and then type something into "search these results" box (say for this example "facelift") it will come up with results for "facelift" and it will be reflected in the URL and also in the search box at the very top left of the page. If I then type something else in, say "DT20C", into the lower search box again it will append "DT20C" on to "facelift" and actually search for "facelift DT20C". This is reflected in the top left search box again, but not in the URL. In the case of that combo the page actually says "searched query: +facelift +dt20c" but it won't come up with anything because nothing in my post history contains "facelift DT20C" as part of a sentence. The same addition of search terms happens if I use the search function from the button on the bottom left of the forum banner.
- Rob

My account accidentally got deleted late Dec '23, so if you're reading my posts from then or earlier and they look weird / are missing media, that's why. There's no fix, sorry.

If you're reading any of my posts with missing design files, find them on my Google drive
User avatar
xantia_v6
Forum Admin Team
Posts: 10804
Joined: 09 Nov 2005, 22:03
x 1387

Re: Minor changes to forum search configuration

Unread post by xantia_v6 »

This turns out to be a can of worms. I will revert the change, but not until I have done some more research on the slow posting issue, which may take a few days.
User avatar
Paul-R
Moderating Team
Posts: 9094
Joined: 07 May 2009, 16:24
x 1890

Re: Minor changes to forum search configuration

Unread post by Paul-R »

Just timed a post and it took 7 seconds for it to register.

EDIT

This post took 5 seconds.
As I get older I think a lot about the hereafter - I go into a room and then wonder what I'm here after.

Inside every old person is a young person wondering what the hell happened.

"Trying is the first step towards failure" ~ Homer J Simpson
User avatar
xantia_v6
Forum Admin Team
Posts: 10804
Joined: 09 Nov 2005, 22:03
x 1387

Re: Minor changes to forum search configuration

Unread post by xantia_v6 »

On looking more closely at this, I don't think that there is a problem, and more specifically, I don't think that there has been any recent change in the forum behaviour.
the-termin8r wrote: 13 Jul 2026, 20:59 I've noticed an issue with the search function recently.

If I go to my profile and scroll down to "search user's posts" and then type something into "search these results" box (say for this example "facelift") it will come up with results for "facelift" and it will be reflected in the URL
I am not sure which url you are referring to here, there are:
  • The address bar in the browser interface, this URL does not (and never has) serve as a link to the currently displayed search page. A quirk of the way the search page is designed.
  • Just under the page header there is text "Search found nnn matches: xyz". The text after the colon is a link, the url of the link can be used to recreate the same search result and can be pasted into another browser for sharing the search result.
the-termin8r wrote: 13 Jul 2026, 20:59 If I go to my profile and scroll down to "search user's posts" and then type something into "search these results" box (say for this example "facelift") it will come up with results for "facelift" and it will be reflected in the URL and also in the search box at the very top left of the page. If I then type something else in, say "DT20C", into the lower search box again it will append "DT20C" on to "facelift" and actually search for "facelift DT20C". This is reflected in the top left search box again, but not in the URL. In the case of that combo the page actually says "searched query: +facelift +dt20c" but it won't come up with anything because nothing in my post history contains "facelift DT20C" as part of a sentence. The same addition of search terms happens if I use the search function from the button on the bottom left of the forum banner.
This is how phpBB has always worked. The "search these results" box performs and implicit AND of the new search term with the previous search result.

If you want an OR search (I presume that in this example you are looking for posts that you made containing the word "facelift" OR the word "DT20C") you need to use the advanced search page, fill in the two words, check the box "search for any terms" and fill your user name into the box below. That search gives the results: search.php?st=0&sk=t&sd=d&sr=posts&keyw ... e-termin8r
User avatar
the-termin8r
(Donor 2025)
Posts: 333
Joined: 29 Dec 2022, 22:31
x 151

Re: Minor changes to forum search configuration

Unread post by the-termin8r »

xantia_v6 wrote: 14 Jul 2026, 22:39 I am not sure which url you are referring to here, there are:
  • The address bar in the browser interface, this URL does not (and never has) serve as a link to the currently displayed search page. A quirk of the way the search page is designed.
I mean the browser address bar. To use the same example search terms as before. If I search "facelift" the URL changes from search.php?author_id=37050&sr=posts (before searching), to search.php?st=0&sk=t&sd=d&sr=posts&keyw ... r_id=37050 (after searching).
xantia_v6 wrote: 14 Jul 2026, 22:39 Just under the page header there is text "Search found nnn matches: xyz". The text after the colon is a link, the url of the link can be used to recreate the same search result and can be pasted into another browser for sharing the search result.
I have no such link that I can see.
xantia_v6 wrote: 14 Jul 2026, 22:39 This is how phpBB has always worked. The "search these results" box performs and implicit AND of the new search term with the previous search result.

If you want an OR search (I presume that in this example you are looking for posts that you made containing the word "facelift" OR the word "DT20C") you need to use the advanced search page
Admittedly it's been a while since I've used the search function here, but I feel like in the past typing in a second term just triggered a fresh search. Akin to typing two completely different terms in a browser address bar. In my case I wouldn't be after an AND nor an OR search. Just a clean search between term entries.
- Rob

My account accidentally got deleted late Dec '23, so if you're reading my posts from then or earlier and they look weird / are missing media, that's why. There's no fix, sorry.

If you're reading any of my posts with missing design files, find them on my Google drive