News for hackers. Stuff that matters.
Re:We're improving search results when you use quotes by endisneigh on Thursday August 04, 2022 @10:36PM (#32350881)
Ultimately one thing people misunderstand is what it means philosophically to search.

Suppose I have some great content "bt its writen lik dis". One could argue saying searching for content with the query 'like this' should yield the previous statement. Others would disagree.

That's basically the crux of the problem. The more exactness you're demanding the fewer results you will receive. The fewer results that are available reduce the perceived utility of the search engine, Google in this case.

Case in point: I've been searching for some "FoundationDB" related stuff. If you use HN's algolia for "Foundation DB" (no quotes) it will show you queries where FoundationDB is a single word.

Is this good or bad?

https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...

Re:We're improving search results when you use quotes by jodrellblank on Thursday August 04, 2022 @11:59PM (#32351431)
> "That's basically the crux of the problem. The more exactness you're demanding the fewer results you will receive. The fewer results that are available reduce the perceived utility of the search engine."

I disagree, so I went to search for the Joel Spolsky blog post at joelonsoftware.com from antiquity where he complains that search engines prioritise finding 5,000,000 results instead of the result you want, and that's completely useless because you can never read that many results. DuckDuckGo changed my search because "Not many results contain 'joelonsoftware" and then offered to search for what I typed in, if I arm twisted it. I only wanted one result, and think less of DDG for changing what I tried, in order to give me more results, instead of what I wanted.

It's here[1][2] from 22 years ago and says "there are three important ideas from computer science which are, frankly, wrong, and people are starting to notice. I’m sure there are more, but these have been driving me to distraction: 1. The difficult part about searching is finding enough results," then "Most of the academic work on searching is positively obsessed with problems like “what happens if you search for ‘car’, and the document you want says ‘automobile'”. So when the big Internet search engines like Altavista first came out, they bragged about how they found zillions of results. An Altavista search for Joel on Software yields 1,033,555 pages. This is, of course, useless. The known Internet contains maybe a billion pages. By reducing the search from one billion to one million pages, Altavista has done absolutely nothing for me."

The fewer, better, results that are available increase the perceived utility of the search engine.

[1] https://www.joelonsoftware.com/2000/08/22/three-wrong-ideas-...

[2] I tried a couple of DDG searches including inurl: and site: then switched to Google, went through 4 pages of results, and a couple of searches, before "site:joelonsoftware.com "useless" "results"" got it at the top.

Re:We're improving search results when you use quotes by makeitdouble on Friday August 05, 2022 @03:42AM (#32352947)
> That's basically the crux of the problem. The more exactness you're demanding the fewer results you will receive. The fewer results that are available reduce the perceived utility of the search engine, Google in this case.

Isn't the use of quotes an explicit request from the user to have fewer results and more exactness ?

If you do a default search, the question of 'lik dis' being included or not is pertinent. Putting quotes puts you straight into the "don't show me variations" camp.

Re:We're improving search results when you use quotes by karlding on Thursday August 04, 2022 @11:08PM (#32351087)
There's a "Typo-tolerance" option [0] HN exposes in the search settings [1]. If you disable that, then those results no longer show up.

[0] https://www.algolia.com/doc/guides/managing-results/optimize...

[1] https://hn.algolia.com/settings

Re:We're improving search results when you use quotes by darkhorse222 on Thursday August 04, 2022 @10:38PM (#32350890)
When I'm using quotes it's usually because the first, unquoted search ended up not being fruitful. In a world of algorithmic nonsense, quotes turn google back into what it should be best at: being an index.
Re:We're improving search results when you use quotes by chrismcb on Thursday August 04, 2022 @10:46PM (#32350960)
I would argue that a search for "like this"without quotes should maybe find that page. But the search with quotes should not find it.
Re:We're improving search results when you use quotes by DoingIsLearning on Friday August 05, 2022 @02:41AM (#32352560)
> One could argue saying searching for content with the query 'like this' should yield the previous statement. Others would disagree.

My guess is the split will follow the lines of those who were used to do meta search in library indexes and databases and those who started using computers when we already had 'natural language' in computing.

Exactness is the whole point of search queries in my opinion. I am trying to filter out a whole universe of search space, last thing I need is second guessing heuristics.

To me excluding that "great content" that slips through is the price to pay for accuracy.