Search isn't giving the right results
If I search for "surrealism" I get 28 results, in category Books.
If I search for "surrealism magic" I get 5 results.
If I search for "surrealism NOT magic" I should get 23 results, but I get 388 results. Using -magic gives the same.
If I search for "surrealism NOT 9783791378145" I get 403 results - whereas it should be 25.
I can only guess that we've moved from logic to some fuzzy logic, AI hallucinations...
I am using via desktop web browser.
I am following search tips from here (which means iPods, which shows how old it is) help.trademe.co.nz/hc/en-us/articles/360026498131-Search-filter-sort#Search-tips
I've got saved searches which work interactively, but when saved as Favourites I get nothing. Thus I have things that I no longer get notified about and won't buy.
Perhaps I would buy more if I could find things? I don't want to wade through hundreds or thousands of listing all the time, so a search which works is required.
Search has been bad for years but the recent search results above is a relatively new thing.
This site barely seems to change over the years or add features so I assume there is like only 1 or 2 developers on this? And they don't use the site themselves or have proper automated testing?
-
Callum Community Superuser
Hi Michael. Before I have a play around to test these, can you confirm you are using the quote marks in all your searches above? So definitely
"surrealism NOT magic"
not
surrealism NOT magic
?
0 -
Was it really too much effort to spend a few seconds to try it yourself? You probably spent more effort doing the reply. It is quite obvious what I was doing - I said how many results I get. Do you not get the same number of results?
0 -
Callum Community Superuser
No. I don't get the same results Michael. That's why I asked.............
Are you using quotes or not in your searches? Because the results are quite different depending if you do or don't.
0 -
I get zero results with " "surrealism NOT 9783791378145" " and 403 results without the quotes. How many do you get? Something is wrong with this site if things aren't reproducible if you're using normal logic...
0 -
So yes, obviously with the quotes the NOT would be treated as part of a string and not a logical operator.
If I add NOT I should get less results, not 20 times the number of results.
The help page says it is to exclude results: "iPod NOT shuffle will give you results for iPods but exclude references to shuffle".
So my guess is that "surrealism" is returning results only with that in the ad title, and the NOT seems to make it now include results where the term is in the description.0 -
Callum Community Superuser
When you add quotes to your search it searches title and description. Without quotes it (generally) only searches titles.
However the quotes also asks the search engine to search for all the terms within it. I don't think the BOOLEAN words work when you enclose them in quotes. So if you type "surrealism NOT 9783791378145" it is going to go looking for any listing with the words surrealism, not , and 9783791378145. Because there are no listings on the website with those words you get a result of 0.
0 -
Callum Community Superuser
My post has gone into pending it reads as below
0 -
I was not adding quotes so it should not decide to start searching the description. but it does when there is the boolean.
Yes, as I said above "obviously with the quotes the NOT would be treated as part of a string and not a logical operator." NOT/AND being a boolean logical operator.0 -
Callum Community Superuser
Correct. It looks like adding a boolean is causing it to search title and description.

0 -
The search has been bad for so long.
Searching title and description should be the standard way, people shouldn't have to cram stuff into a title to get their listing found.
A good ranking algorithm, smart tokenisation, normalising, and stemming - good full text search isn't that hard, there are solutions out there.
Doesn't matter if it returns a thousand, ten thousand, a million results as long as the ranking makes the first 20 are the ones you were actually looking for.
0 -
Michelle
Trade Me staff - Community team
Kia ora Michael and Callum, I've passed this on to the team to look into, thanks for raising it.
1 -
Callum Community SuperuserEdited
Hi James. The problem was there were people deliberately screwing results by adding description keywords to bump their items up the list. It was very common in clothing. For example people might have a pair of socks listed. Then they would say "Similar to adidas, nike, puma, champion, Calvin Klein, etc etc. So someone searching for "adidas socks" would get the sellers item come up relatively high in the search results. When they weren't adidas socks at all.
I'm sure these days there are more nuanced ways to deal with that. But it was Trade Me's response at the time (years ago)
Trouble is some people haven't really caught on to how search works on Trade Me. Their title might be "jeans for sale" with details about the brand, colour, size, age in the description instead. Then they get surprised when they don't get much interest or their item sells for a low price.
0 -
Oh, I see why you were getting a different number of results. If you read the very start of my statement of the issue you will see i was searching in the category Books only.
Now that you've clarified that search was to be title only, to address the issue of keyword spamming, then okay I'm fine with that. I needed the booleans to work on the item description too to get rid of stuff I didn't want.
Perhaps what is needed is to clarify the behaviours in the help section.0
13 comments
Date
Votes