GameTZ

Sign OnNon-Mobile

Strange search phrasing?
16-Jul-23 9:06pm
#1
ryanflucas
GameTZ Subscriber 1000 Trade Quintuple Gold Good Trader

I don’t know if this is normal but I can remember search being different. Now all queries need to be in the exact order.

Example: search for “desperate struggle”. No results.

Search for “no more heroes 2”

Did something change over the years requiring specific queries?

17-Jul-23 5:38am
#2
bill
GameTZ Gold Subscriber GameTZ Full Moderator 600 Trade Quintuple Gold Good Trader Has Written 28 Reviews

I noticed it doesn't give results if the output is using "relevance", but if you switch to "exact" it works.

I'll have to look into it. I don't think I made an intentional change to this, but maybe something got changed that had this effect (which seems bad to me).
17-Jul-23 11:58am
#3
bill
GameTZ Gold Subscriber GameTZ Full Moderator 600 Trade Quintuple Gold Good Trader Has Written 28 Reviews

OK, I made a fix.

Searching for “desperate struggle”. Now has proper results. e.g.
https://gametz.com/?...
https://gametz.com/?...
(regardless of "relevance" or "exact" mode)

The bug was that the "relevance" code wasn't coping with spelling suggestions properly in the case where each word in the search expression had a possible alternate spelling.. the logic was off thus causing no results. I needed to group the "AND" and "OR" logic phrases better. Once I did that, good results came out for the "relevance" case.

The "exact" search mode doesn't check for misspellings, so it wasn't affected.

This has probably been broken like this for many years. Probably since the new search was done (can't even recall when that was). Likely, it was just a bit rare that it happened, so I didn't pick it up in tests nor did people notice or report it.

Thanks for letting me know.
17-Jul-23 3:34pm
#4
ryanflucas
GameTZ Subscriber 1000 Trade Quintuple Gold Good Trader

Thanks for the fix yes

Strange search phrasing?