Home « Forum « Bug Report and Feature Requests

Forum: Bug Report and Feature Requests

Forum Search in Reverse Chronological Order

awnlee jawking

I recently started a new thread, Amazon Algorithms, to post a titbit of information. I thought I remembered a recent 'Amazon' thread onto which it could sensibly be bolted, but I couldn't see it on the first two pages of 'All Threads by Date' so I did a Forum Search for 'Amazon'. Over 1400 results, oldest first, with no apparent way to jump to the end, change the sort order, or go to straight to page 140.

How difficult would it be to implement one of those facilities, and is there any demand for them from other denizens?

AJ

awnlee jawking

you can jump far by manipulating the URL


Thanks for the tip :)

AJ

Not_a_ID

"Most recent first" should probably be a default result set for forum searches though. ;)

Lazeez Jiddan (Webmaster)

@awnlee jawking

The search for the forum is a text search like google's. It returns results based on relevance. So searching for one word returns the entry that contains the most occurrences of that word.

There is no way to so these results in any other way.

Replies:   awnlee jawking
awnlee jawking
Updated:

@Lazeez Jiddan (Webmaster)

My particular search starts with results posted in 2015, then progresses month by month until 2016, then progresses month by month until 2017.

You can see how I thought they were returned in date order.

ETA - there were 1400 odd results returned but the dates progressed from 2015 to 2017 in a little over 20 pages. Could the search algorithm be returning say those mentioning 'Amazon' three times in ascending date order, followed by those mentioning 'Amazon' twice in ascending date order, then those mentioning 'Amazon' once in ascending date order?

I wonder what will happen if I mention 'Amazon' once more in this post ;)

AJ

Lazeez Jiddan (Webmaster)

Could you still make it work to see the actual contents beyond page 34? I just checked again: every page beyond 34 shows the content of 34.


if it's reaching 34 and stopping it means that there are only 34 pages of results. The system's max is 100 pages.

Ernest Bywater

It doesn't; it says there are 1417 posts found, which at 30 per page means 48 pages. I can go from page 1 to 48 in various ways; however, regardless how I get there, any page beyond 34 shows just the same results as page 34.


It may be finding multiple hits in the same chapter of the same story and only listing the first hit for those chapters. I've seen that happen with a lot of search engines. One link for the chapter and then multiple uses of the word on the page the link is for with each use showing as a hit in the count figure.

Ernest Bywater
Updated:


Wrong search;


edit to add after deleting previous comment: just ran a forum search for the first time - used Amazon as that's what was mentioned earlier. It shows 1422 entries with multiple entries for the same thread, so it is showing each hit in the list 30 entries on the first page, if it keeps to 30 entries then 1422 post should give me 48 pages. Checking other pages and will come back

new edit: checking the list shows the posts are not in date order. The first 33 pages were 30 to a page, then from page 34 to page 48 there were only 10 posts per page listed - maybe some have been hidden due to a filter or the posts were deleted or something, but I don't know what happened to change the list sizes.

Lazeez: when the search engine does these searches does it deal with different parts of the post in different way. In any post the search word can be in the title, in a quoted section or what's posted. Does the system count and then display regardless of which area the hit is in, or does it deal with them differently.

I ask as I can see a post where the word is sued should be listed, but will it list if the only usage of that word is when part of the first post is quoted? And will it list if the word is in the thread title?

Replies:   awnlee jawking
awnlee jawking

@Ernest Bywater

new edit: checking the list shows the posts are not in date order.


That's weird. Mine quite definitely are. The first page starts early September 2015 and finishes late September 2015.

Despite mentioning the Satanic Behemoth four times, my post yesterday isn't on it :(

AJ

Lazeez Jiddan (Webmaster)

I can go from page 1 to 48 in various ways; however, regardless how I get there, any page beyond 34 shows just the same results as page 34.


After investigating the issue, it turned out that I had a bug in the search results display logic. The search engine returns up to 1000 results, and I had the system displaying 30 items each page. 1000/30 is around 34. The bug was with the creation of navigation bar. It should never allow more than 34 as the page number.

I've fixed the system and now it shows up to page 34 in the bottom navigation bar and any number entered in the URL or in the page jump box over 34 will now result in 'Out of Range' message.

If your returned result exceed the 1000 limit, then you need to refine your search by adding keywords.

Replies:   Ernest Bywater
Ernest Bywater

@Lazeez Jiddan (Webmaster)

I've fixed the system


While I don't normally use the feature, thanks for the fix.

Back to Top