141 points · by search_ · 8y ago · 121 comments
And now it seems that the industry have moved on. There is a million papers/books/blogs/online courses/video lectures/meetups about ML/AI, but I can't seem to find anything current on search.
What are the good resources to learn the fundamentals of search and keep up with the current happenings in that space? Not SEO, but more from the computer science/engineering point of view?
Google focused on a specific subset — you enter a few keywords or a phrase, and the machine returns the top ~10 links to pre-existing (indexed) web pages. But that's not all there is to search!
Challenges:
1. Intranets: internal documents, typically in different modalities (FAQs, support cases, wikis, public pages) and across diverse storages that evolved throughout the years via acquisitions and osmosis.
2. Clustering: you don't have any keywords, but rather want to find how a particular document (legal template, its clause section) evolved over time. You want to avoid using keywords. Search for similar documents or document sections. Find similarity between two documents that is based on semantics rather than query keywords. Applications: eDiscovery, contract management…
3. SME & Intent: "relevant result" means different things in different domains, or even different aspects of a single domain. Google is doing an amazing job with their "single search box", but there are industries (for example, HR) where search precision matters much more than recall. More elaborate, focused, domain-specific facets or even dialogue systems make sense there.
Commercial plug: we built a search solution focused around semantic search (in the "machine learning and vectors" sense, not "sematic web and RDFs" sense), https://scaletext.ai. It's still early days in that our clients are all over the place, but to say Google/Lucene solved search is patently false.
2) Google does not do simple keyword matching, and certainly has a strong sense of "semantics".
3) Try searching "Cheap hotels in San Francisco" or "Plumber jobs in Chicago" in Google. Just because it's a single search box does not mean all results are generated/displayed in the same way.
My point was more that encoding the relevant signals into a single general-purpose search box (a sort-of natural language) is an inherently noisy, ambiguous process. When you know what kind of search you want, it's better to factor out the relevant parameters and feedback loops explicitly, give them a clear UI and search flow. Rather than have users fumble with double quotes and double-guessing the query parser.
Search in one language, get results in multiple languages. The context in which this came up was in organisations such as the EU or the Nordic Council.
Another one that I would like to see improved is better search for scientific articles.
With advances in spamming, internet/email search is getting to be a harder problem every year.
I remember when Google was quite effective in finding what I need, but nowadays it's dismal. As an example, I googled for "storename return policy", and got page after page of results. All of them were tagged "missing storename", so just randomly picked return policies from other stores.
Search is their bread and butter, and they're probably keenly aware of the diminishing quality of results. I'd love to hear what's caused the recent trend for results that are missing a few of the most crucial keywords. Probably over-enthusiastically trying to filter out keyword farms.
I’ve noticed Facebook’s search has started catering to the lowest common denominator as well. Searching for (made-up example) “Louis Potter” used to give all exact matches priority. Current results look something like 1) Louis Potter 2) Luis Porter 3) Louis Potters 4) Louis Potter (#2). I don’t like when search engines assume that I’m misspelling words/names, and it would be nice if they adapted for individual behavior in this regard.
https://old.reddit.com/r/dredmorbius/comments/69wk8y/the_tyr...
"restaurants liked by people who like Joe's Pancakes and Green Dragon Mexican Pizza"
"movies liked by people who are friends with people who like Back to the Future and Arrested Development"
"people who live nearby and like Green Dragon Mexican Pizza and Arrested Development"
"friends of friends of friends who like Arrested Development and Joe's Pancakes"
"Friends of Megan Albert friends who are women named "Erin" Chipotle employ"
I think you can see why they removed it.
this URL might lead to something like "restaurants liked by people who like Snow White" https://www.facebook.com/search/130104022710/likers/pages-li...
Companies can have a great intranet search experience, but it requires time to properly configure the schema, train taxonomies, tune relevance, and understand the resources required to make it work quickly and reliably.
Document processing pipelines often require customization to meet the above requirements, and multi-lingual search may never be perfect within an organization due to differences in the way wordbreaking is done.
Some companies do put a lot of effort into doing this right and getting the best experience possible today, but most don't.
I think it helps to put the critical search term in quotes. At least in DuckDuckGo, `"storename" return policy` would exclude results that are missing "storename".
I don't want to fight with the search engine: "you meant this!" -- "nno, find me that" -- "you surely meant this so here it is!" ...
If there was a result containing the whole search string it would (I believe) have been the first one.
"So what's the problem here"? The problem is, the search engine threw away one third of my query terms, and then gave me all chaff. Apparently I should've thrown in some random punctuation to convince it to actually use all of them.
"That does not by itself mean there's room for a new search engine, but lately when using Google search I've found myself nostalgic for the old days, when Google was true to its own slightly aspy self. Google used to give me a page of the right answers, fast, with no clutter. Now the results seem inspired by the Scientologist principle that what's true is what's true for you. And the pages don't have the clean, sparse feel they used to. Google search results used to look like the output of a Unix utility. Now if I accidentally put the cursor in the wrong place, anything might happen." http://www.paulgraham.com/ambitious.html
Search has become a cat and mouse game where every time search is "solved" with an improved algorithm, it is "unsolved" quickly by people looking to game the algorithms.
Google used to be one of the few websites I whitelisted on my Javascript blocker. I had to remove it from the whitelist, because otherwise its search became unusable: things moving when you scroll over them, URLs magically changing when clicked or even right-clicked, the search page URL actually pointing to a previous search because it used Javascript to submit the new search, etc.
At least Google search still works fine with Javascript disabled. Unfortunately, they also moved Google Maps to the main domain (it used to be in a subdomain), so I have to temporarily whitelist it every time I want to use Google Maps, then remember to remove it again from the whitelist before doing a normal web search.
That literally happens to me sometimes when using Gmail (in regular, i.e. JS-enabled mode, not in HTML UI mode).
Sometimes when I move my cursor around with the arrow keys (e.g. up or down), the cursor suddenly vanishes when it reaches some part of the email I am writing or replying to.
Sometimes it happens near the quoted part of the email (the part I'm replying to), or something else. Irritating. Then I have to scrap the email and rewrite it, and maybe if I am lucky I can copy (some of) the text I've written and paste it into the new version.
I think it is some issues with their JS or CSS, also maybe related to monitor size and resolution.
The best way I have heard this process described is 'the elves leaving middle earth' : https://steveblank.com/2009/12/21/the-elves-leave-middle-ear...
Anyone else know why Google is going full Kodak?
EDIT: It's the SEO/spammers/viruses type folks, isn't it? Seems like a good candidate.
So long as the paid ads are more relevant than the search results, the less likely you are to scroll past the ads and find the "real" search results, which are either repeats of the paid results or spam.
Google can always blame the spammers and they can control them entirely by turning them off when they feel like it so there is no motivation for the spammers to invest in improving their sites, or not for anyone else for that matter. (Google can always turn you off)
After all if you want more visibility in Google, Google wants you to buy ads.
p.s.: All the bad searches on the various products I use or the websites of some companies make me almost want to get back into search. Because even for things that ARE solved in the technical sense there seems to be no "out of the box" solution or people would use it.
edit: To expand a bit - all the search solutions I've seen which weren't for Internet search were more or less bespoke, so you needed a project to get something decent. Sure, you can install a plain Lucene/Solr, but Lucene/Solr cannot understand the way your data works, which parts are important or if you want to show results which are older further down (or not!). They have decent defaults for the "common case", but you have to tune them for every customer/installation for good results and that makes it non-scalable. And being scalable without effort is usually one of the requirements people have for something to be "solved".
At work we are nowhere near asking an intranet "show me the last pentesting report for Tony's new website" or "show me the change requests for the failed change this quarter". I know exactly what I want, and how to ask, bit I will not get the results I want.
Ask Google who played the mens semifinals of Wimbeldon three years ago and Google will tell you it indexed 6 million pages to provide a link that may or may not have the 4 names I am looking for. Why is it doing all this pointless work? And why is it that dumb in 2018?
We have got so used to what it does that lot of people have stopped asking questions about how it does things and wether all the stuff it does is required.
Wolframalpha, Freebase/SemanticWeb/Wikidata/dbpedia approaches, NLP/NLU are still very underdeveloped and untapped.
Having open and distributed indexes like we see in nature with DNA is also totally unexplored because of Google type centralised index monopolies in various domains. It just takes a Gig or so to store a local offline index off all Wikipedia or Stackoverflow pages. And given the massive RAM and hard disks everyone has these days why aren't we seeing sophisticated local offline search apps?
The internet is getting exponentially more noisy day by day and in many ways its easier to find quality info going through a top notch library's index than wading through Google's. So there are lots of blindspots and areas to explore in search right now imho.
My first query string idea was 'men semifinals Wimbeldon 2015 wiki' and the resulting page contains the list in a nice format.
This is because I have the context that wiki pages would contain this sort of information. Google and others are getting better at processing more vague queries (like 'three years ago'), but I do agree we are nowhere close to being able to ask general questions. Knowing how to use the tools like google search (and other searches) and really advanced queries syntax is a force multiplier/enabler.
That's a job for computers to do.
You sure about that?https://www.google.com/search?client=safari&hl=en-us&q=who+p...
And for what good reason? Certainly not because of past attempts. In fact, Google has bought some startups that were involved with search.
I'd be interested in knowing what you find. There are bound to be many relevant texts not labeled as search, if you know what you are looking for. Perhaps I would start with web crawlers and go from there.
When Google's approach isn't giving me an answer, it'd be nice to try a search that wasn't based on a discoverability feedback loop.
That way each provider can focus on building a good platform with clever machine learning tailored to that dataset.
We also need the return of proper Boolean operators and complex nested queries. Yes, Joe Public will never use them, but a lot of people who search the internet as part of their jobs, or just have deep interests and would love to have all those advanced search features back, and be able over to override the 'fuzzy logic' that generic Search engines such as Google enforce on us.
I also disagree that all sites need to be mobile first. If I have a site that provides software for the Enterprise Sector, Google will still penalise me if my site isn't responsive, even though my target market is IT professional sitting in front of powerful laptops/desktops.
As many would agree, Google have too much power in the Search space, and they have basically dictated to the world how Search should be done, whether they are actually right or not.
I'm a person with simple needs. I mostly search in English, sometimes in Russian (which is my native language) and sometimes in Japanese (which I'm learning). These languages use completely disjoint sets of characters so it should be obvious to Google what I'm trying to do (since I'm logged in and they know all about me). There's also a setting that allows me to pick languages that Google should prefer when searching (English is always selected). Now there's a little problem:
1) If I choose any language other than English, Google prefers websites in that language over English even if my query is in English. If I'm searching for programming-related stuff, I don't need it poorly translated into my native language, or any other language! I want the original, on the first page of search results. So any language other than English gets switched off.
2) If Japanese is not switched on, Google thinks that any query that consists only from kanji (a subset of Japanese characters that are also used in Chinese) is in Chinese language, so I get pages and pages of Chinese websites before I see any Japanese ones. Since I can't read Chinese at all, it's completely useless. Now, you might say: of course Google has no way to know if I wanted Japanese, not Chinese. Oh, it knows. I can search for a name of a Japanese person, and Google will display a sidebar with their English Wikipedia article, date of birth and nationality and everything, and yet all the search results will still be in Chinese.
> $74b revenue
> 80% market share
1) Sticky topics - if I'm at work and I type Flow I am way more likely to mean Facebook's js library than I am Flow energy.
2) Different views on the information (Grid view/masonary that makes sense)
3) Ability to search within a set of search results
4) Ability to customise the algorithm with other programs I can write/plugins
5) Many more things for programmers and advanced "omni bar" style features that allow me to type shortcuts and autocomplete things.
6) More automation of programmer stuff - if I type a number and a unix timestamp it should show me a date etc. for possibly millions of things. Same for unicode char of a hammer, url decode, etc. etc.
7) Clean integration with your OS search that makes sense.
I'm aware Duck Duck Go does some of these things (relatively badly). I think I'll give it another go then and see if it's better.
Lucene provides building blocks, not a solution, and not even all of them.
Search on a small scale may seem working if you have phrases that are mostly unique, like recent movie titles or celebrity names. Go beyond that and its a mess.
Whether it is a good business strategy to challenge Google head-on is another question. Whether there is a sure way to learn and engineer said systems on extremely large scales is another question.
Also, don't confuse the business/tech press definition of solved (i.e. a dominant player raking in large piles of money and shutting out competition) with said problem actually being solved as in there does not exist a better way to attack the problem. Granted, when the business/tech world considers a problem solved, this often just means that the lions share of (known) financial incentives are no longer 'low-hanging fruit'... until a challenger figures out a way to blow up the incumbents business model.
For instance, one should be able to search for: "who is the leader of this IRC hacker group?" "where can heroine be bought on the deep web?" "Is there women trafficking going on behind that log-in wall?" and then an intelligent agent is dispatched, avoiding/crossing roadblocks, like log-in forms, and will eventually bring you the answer.
Coursera has more on the basics, like: https://www.coursera.org/learn/text-retrieval
OpenAI has more on the current happenings of creating more intelligent search bots: https://github.com/openai/universe
Other possible future research areas in information retrieval include being able to search for services ("Where is cheapest taxi service for current location?") and an integration with IOT.
The most challenging parts are if you have many dimensions at the same time such as location / full text / user preferences / social filters / permissions etc. These are the problems that make my life suck right now as you cannot simply not have joins for some things or not have graph relations etc etc. Case in point following feeds with many dimensions so you need a pipeline approach in stages.
In terms of fundamentals, I'd suggest reading about tf-idf, which is the basis of Lucene (which powers Solr and Elasticsearch).
Regardless of query length it's strange that I often find the second result better than the first one.
Finding something in Gmail can be a real challenge, I wonder if would be possible to unleash Algolia on your inbox.
To be honest, I think that I would actually want an engine that scrapes fewer sites but good sites and tries to understand them better. Also regular expressions.
This is why google often is bad for searching tech things. You get often very old useless links for a topic
This has caused "search" to devolve into "human using Web browser types natural language in box, human is presented with results (some semantic, most just links to things other people wrote, some advertisments around the side), human reads through results to see if any are useful to them".
This is certainly useful, and I rely it all the time, but it's not the pinnacle of what search could be. It's like if `grep` didn't pipe to stdout, but instead popped up an alert box for each line like "Your query '.*' matched the line 'foo'. Try the new McDonalds saver menu today! [Next/Cancel]", it would still be useful, but nowhere near as useful as piping to stdout.
Many years ago Google provided an API to their search engines, which applications could build on to be more "smart". This could have paved the way to much better software: for example, imagine a prolog system where all of Google's knowledge could be used by the calculations.
That path was mostly abandoned since there's no scalable incentive to make it operate, much like the semantic Web. Rather than opening up databases to empower others, it's much more profitable to keep them walled off behind a few limited, pay-per-use interfaces (e.g. "paying" by showing a human some adverts). Attempts to bypass or abstract over these interfaces are hit with rate limiters, Recaptcha checks, etc.
It's too hard to find relevant information from the gazillions of pages based only on a few words.
I think search needs to be replaced by some kind of indexing/ontology/knowledge organization system, and then maybe only be applied in the "last mile" of a person's 'search' for relevant information
It seems to me that a fair bit of the search problem could be addressed by sites themselves serving wordlists, tuples, statistically improbable terms (there's another term for this that's escaping me), etc., rather than consenting to being heavily crawled by numerous spiders.
Vastly improved content metadata (particularly for largely fixed "article" content), including author, date, and (a reliable) topical categorisation would help. For realtime information, APIs are probably more reasonable than text search, though those would likely be front-ended by specific applications.
This still leaves the very nontrivial problems of reputation, relevance, black-hat SEO, and information manipulation (propaganda, misinformation, misdirection, disinformation), and just plain street-grade idiocy.
But several elements of this strike me as amenable to either localised or distributed solutions.
Yacy can do it. You can use it as a proxy and it does index all visited pages. (I tryed Yacy, but never this feature).
Takes days.
Minimum screen brightness. 1440p touch. Needs USB-A. 8th gen quad core. 20+ watt TDP. etc. Not too thin, not too thick. decent graphics.
Is something like this not available in the US/other territories? If not: here is your opportunity :-D
Another problem is how to search for something when you don't understand it enough to search for it or you can't think of distinct enough words or phrases to search for it.
Evidence: Before it sold off to Bing, Yahoo search was quantifiably better than google for a few years (in blind tests where you rip off the branding).
No one cared, because google was good enough.
Having said that, I use duck duck go these days, and occasionally spot check using google. I think the google results have become unusable because they too aggressively map to related concepts, and otherwise second guess what I’ve typed, but there have been endless debates about that on HN, and it’s essentially decided by the user’s taste.
I'm not claiming to be sure about that, it's a subjective impression, so if someone can explain better, I'd be very interested. Since I use Google for work (more often than Google scholar), I'd hate not to find what I'm looking for, but generally Google results seem to be much better than others. It's the main reason why I don't use DuckDuckGo, ixQuick, Yandex, Bing.
I’m sure people have been trained to use google effectively, but I switched years ago, and find it harder than the alternatives.
To be clear, this is all nitpicking. The last time this came up on HN the only query anyone found that actually showed practical differences between the two was the acronym FOSS.
Google rewrote to “free open source software”, with no quotes, giving poor quality results (eg bsd software).
Ddg gave the definition of foss, and relatively few results pointing at actual software, because that acronym was (is?) obscure.
This book is very informative: https://nlp.stanford.edu/IR-book/
edit: I should say it's slightly outdated because of lack of "big data" and how search companies currently deals with huge amount of data.
But document retrieval (classic search as you describe it) is not a hot topic anymore. That does not mean there are not people working on constantly improving document retrieval: Google Scholar returns 17,800 results for "document retrieval" in 2018 and 34 results with it in title. So it is in widespread use but not the focus of the field, I would say.
Some ideas:
- Only academic papers
- Only news sources
- Only hacker topics
- Only financial topics
- Only small bloggers
- Only literal keyword search which Google discontinued
Get traction in that domain, then build out from there.
I think the truly hard part is that so many people accept whatever default is already there. If they get an android phone - they use the search box there. If they are using chrome browser, whatever input box is there on the first screen is obviously the url bar and use that (you and I may know the difference, the average user doesn't care, it's one less click to just type 'google' into the url box in the center of the page, of fbook or whatever, then google brings up the url you were going to (not searching).
This is why I think there is much less hype about competing in this space. Unless there is a thing forcing companies to put other browsers and search boxes on phones, tablets and chromebooks like the microsoft IE debacle so long ago.. then trying to be the next google is impossible, even if you had better results, better tech, etc.
Regardless of that, I think it's quite possible to make much better niche search engines and get them used. If ten micro engines could make 1% of googles revenues each, that would be a decent amount of money in my neck of the woods.
I'd like to see other people post more sources about search tech in general, several searches last year only brought a few info bits on what it may cost to create an index of the net - someone posted some numbers using servers bought off ebay and a rack at hurricane I think - had some numbers for the cost of servers to pull a new index every month or so?
Certainly the tech and costs have changed since that was published, but not much I've seen.
I'm pretty excited at this project posted recently: https://news.ycombinator.com/item?id=16976941 ( Show HN: A search engine that doesn't track you, where users vote for results (github.com) )
I am hoping to get some people together to make a less persnickety and fussbudgety search option for people who don't want to be babysit with censoring kids gloves when looking for fun things.
If anyone wants to make a couple adults only engines, or ones that are more fun, let me know.
Average people talk in slang and cut up about less high brow things, the big G gives rank to the college papers and deranks for so many things, it's on the road to being the next yellow pages and sciences journal, but not the place to go when you want fun things anymore.
(1) The first big story is the dominance of Google. With an advertising-centered model, Google has a reason to degrade result quality. If you get trained to scroll down to find the real results and you found them good, you might avoid touching any of the ads (hard to do because they cover so much of the screen.)
(2) The web is 95% Javascript and 95% Spam -- getting useful results at all requires fairly strict 'censorship' and vast resources if you want to compete on Google's ground. No serious competitor will come in with a different model, nothing will change unless you have a search engine that YOU pay for and not the advertisers.
(3) "Desktop search" is discredited in most peoples minds. Your OS might have added it as a feature back in 1995, but you've kept it turned off because it slows down your computer and never finds what you are looking for. Result quality is an issue, but the #1 perception here is that the indexing process harms the user experience. In the era of multicore, NVMe, etc. can this be changed?
(4) "Website search" is also discredited. Product search commonly works, but search on most web sites is so bad that people are trained to just search on Google. Thus you have very few chances to change people's minds.
(5) There is a big literature (the TREC conference) but there is something profoundly depressing about it. It was one of the first big competitions, but unlike the SAT Solver competition or Imagenet it was not associated with a rapid improvement of technology but rather a painful slog through the mud. If you start reading it at the beginning or in the middle somewhere you will find that 20 or so things that you thought were sure bets to improve relevance don't work. If you read the cliff note's to the first 10 years written by the organizer, you find out that there was an interesting discovery made 5 years in...
(6) The BM25 ranking function which has two tunable parameters. BM25 was a huge advance because it can be tuned to comparable rank documents that are highly variable in size. BM25 is built into Elastic Search, but nobody will give you any advise how to tune those parameters...
(7) Because they don't follow the relevance evaluation protocol in TREC; this is badly flawed, but the data exists, and going from naive tfidf to tuned up BM25 or information theoretic approach (also implemented in Elasticsearch) will put up better numbers AND seem more relevant to end users.
(8) An open-source project to do that evaluation on Lucene got started but never made a project; I have talked with Enterprise Search vendors who were very aware of points 5-7 but did not tune up their search because it was easier to sell customers on having hundreds of "connectors".
(9) The mainstream of TREC (it has broken into many flavors) and IR research has been getting high recall at low precision. Maybe that's because when Gerard Salton was messing around with punched cards at Cornell, 70 abstracts was a lot of documents. Patent searchers and paralegals are interested in deep recall, other people aren't.
(10) A major flaw in the mainstream TREC approach is that they are trying to tune up the wrong function: the ideal relevance score is a probability estimator of how likely the document is to be relevant.
(11) Google and Bing have made noises about personalized search but they don't really do it. They are both stuck at 70% relevance for the first result because of their limits in inferring user intent. The real relevance function has the user's context as an input variable, but sampling by that thins the data points to where it can't be approached as a "big data" problem. "Personalization" works for advertisers who don't know your real intent but are willing to pay for a 5% chance you may click, but not for you where you will feel misunderstood (primed to get irrationally angry) 95% of the time.
Computers can not read minds.
Search is interesting! And it is important to differentiate the web search (Google) and domain-specific search (Solr, Elasticsearch, recent release of http://vespa.ai/). You cannot tune Google to your domain needs and understanding.
For domain-specific search, the basics are there. Even the fancy "basics". It is now very easy to add search to one's stack. In fact, Solr is in so many stacks, it is not even mentioned much anymore. But we still get the contributions back from Cloudera, Bloomberg, Alfresco, etc.
So, the cutting edge in Search is now on personalization, relevancy-tuning, indexing non-text content (music, images, etc), multi-word semantic search, graph traversal and, yes, Machine-Learning. See, for example, https://lucene.apache.org/solr/guide/7_3/learning-to-rank.ht...
In fact, the Solr conference that used to be called Lucene/Solr Revolution is now Activate and has focus on ML/AI because the topics are really starting to overlap (https://activate-conf.com/). You can see the interesting topics from last conference: https://www.youtube.com/playlist?list=PLU6n9Voqu_1FMt0C-tVNF...
Learning (Solr at least) is a different issue. There are so many features now that the Reference Guide is absolutely enormous. And the demo schemas are still a bit of a kitchen sync, making it look more complicated than it needs to be. And, the last comprehensive book was several versions back. Again, that's because Solr is big and is growing really fast still...
Actually that's why I chose to be a popularizer within the Solr community and focus on making it easier for beginners to start.
See, for example, my latest presentation slides at: https://www.slideshare.net/arafalov/rapid-solr-schema-develo... and the backing configuration repo: https://github.com/arafalov/solr-presentation-2018-may (includes smallest viable useful schema)
(tl;dr) Search is still exciting, lots of cutting edge cool stuff, and there are people trying to make it easy for beginners to start.
How about search in the context of AR... if people overlay data on top of the world we live in, in AR apps, will there be searchable things there? There's room for search related projects in the future, but it just matters what the data is, and why it's being searched.
Normal search 'engines' for web documents --- that itself seems pretty much 'won' by google, until something better comes along (an implant that has better search than google, and I only need to think about what I want to search for then I automatically download the data to my brain for the top 10 results)
IR is for all intents and purposes a solved problem -- in fact it was solved a long time ago, and I highly recommend the seminal book “Managing Gigabytes”. I also recommend https://github.com/phaistos-networks/Trinity/wiki/IR-Search-... this page(disclaimer: I am maintaining it) for some interesting/important links to IRC technologies, developments, etc. While some novel ideas come out from time to time, the fundamentals haven’t changed -- progress there is incremental and mostly specific to different encoding schemes or ways to execute queries faster by using JIT or more cache-aware datastructures, etc.
Managing and queries documents based on keywords and boolean operators is one thing, and Lucene/Solr, and Trinity (https://github.com/phaistos-networks/Trinity) among other technologies can be used to take care of those challenges. But that’s the easy part (assuming you can do this fast enough, because you almost always can’t afford long-running queries):
- User Interfaces: Not just how results are presented, but also how users can construct or input queries. What options can be come available for filtering matches? - Ranking: Precision is key, and rather simple formulas (tf/idf, BM25, etc) generally don’t work well for many/most domains. Furthermore, ranking is almost always not just about relevancy. It factors in static context scores (e.g document “popularity”), personalisation biases(how likely is it for user to mean Soccer or American Football for [football]),and other signals, fused together somehow to determine the final ranking of matched documents. - Scale: Getting everything right is one thing, getting everything right at massive scale is whole different game. What may work on small scale(algorithms, technologies, services) may not work at all when you scale out. - Everything else not directly related to search but either important or fundamental to a good experience/business: from matching queries to ads, to analytics, to autosuggestions, to training ML models to power all that, etc.
Web search is not a zero sum game. Bing makes over 3nb / year and while it may not have a chance to catch up with Google anytime soon, that’s a great business right there. Ditto for DDG. There are also companies that offer a different or better experience and access to datasets google doesn’t yet.
So, all told, search may be solved only in terms of the basic IR technology that makes it all work, and arguably a lot better than it used to be in terms of user interfaces, ranking, etc, but it will take a lot longer until those other aspects of web search may be considered ‘solved’.
Regarding always being able to find what you are looking for on Google: I often struggle to find niche information using Google, and most content on the Web is not indexed by Google.
I'm more of the opinion that YouTube is less possible to compete with in any serious way.