Skip to main content

The Mystery of the Search Engine


The Mystery of the Search Engine

Image result for Search engine


Today's computers can search through large amounts of data in less than a second. The downside of this is that oftentimes a search query returns lots of information that we don't want.


Consider the search engine below, which quickly checks all of Sir Arthur Conan Doyle's works about Sherlock Holmes. It returns each Holmes short story or novel chapter that includes the search term, as well as the first time the term is mentioned for three of the documents.


If you're trying to find a part of a story where Mark takes a train, you might try searching for the train:

















This isn't very helpful since trains are a common occurrence in these stories — the search engine returns 46 results. Fortunately, there are a couple ways that we can make search results more relevant.
If you are looking for a full phrase rather than a single word, search engines can match phrases by including the phrase in quotes. If you remember that the story you're looking for has Sherlock taking a train to Newhaven, you might search for "train to Newhaven":









revealing that you were looking for an event in The Adventure of the Final Problem. The drawback of using quotes, however, is that you'd need to remember the exact phrasing.
If you aren't blessed with such a memory, you can also use logical operators. The search term train AND Newhaven would also have done the trick — AND signifies to only return results with both the search terms train and Newhaven.
Search Icon
train AND Newhaven
The Adventure of the Final Problem


es had indicated, the less so as it was the only one in the 
train
 which was marked "Engaged." My only source of anxiety now was the son-appe
1 matching document
AND isn't the only logical operator we can use in the search. We can also use OR to return results with either of the search terms — and NOT, to exclude results that include the term that follows. These logical operators can be combined using parentheses as needed.
As an example, if we wanted to find instances of the word train where it didn't refer to an actual physical train, we might search for train AND NOT (station OR catch). This query finds uses of the word train without mention of a station or "catching the train":
Search Icon
train AND NOT (station OR catch)
The Adventure of the Resident Patient


d played is not sufficiently accentuated, and yet the whole 
train
 of circumstances is so remarkable that I cannot bring myself to omit it ent
The Adventure of the Devil's Foot


 theory of a poison which worked by combustion. "With this 
train
 of reasoning in my head, I naturally looked about in Mortimer Tregennis's room
The Disappearance of Lady Frances Carfax


I should be obliged to you if you would indicate it." "The 
train
 of reasoning is not very obscure, Watson," said Holmes with a mischievous t
1-3 of 9 matching documents
We see that this does find us some examples using the train more metaphorically, with mentions of trains of circumstances or reasoning.
With a cleverly designed search query, you can find the information you're looking for much more quickly than using a broad search term and parsing through the results manually.






Comments

Popular posts from this blog

The Zodiac Killer

The Zodiac Killer He is our Jack the Ripper. Fifty years ago this week, a psychopath with a .22-caliber semiautomatic pistol sneaked up on two high school students parked on a windswept lover’s lane in Benicia. Shot down as they scrambled in terror, the young couple died in a spray of gunfire. It was an unusually messy crime scene. The killing on Dec. 20, 1968, of David Faraday, 17, and his 16-year-old date, Betty Lou Jensen, marked the beginning of what became the twisted legend of the Zodiac Killer. By the time he was done, five more victims across the Bay Area would be shot or stabbed — three of them killed, two left barely alive but scarred for life. Betty Lou Jensen and David Faraday, the Zodiac’s first victims.   | Chronicle File Photos Although the carnage spanned less than a year, the moniker Zodiac Killer was cemented into history. He would never be caught. Considering the homicidal tumult of the 1960s and ’70s, the number of his victims was actual...

The Siberian Ripper

The Siberian Ripper Who was the Siberian Ripper? Also known as Alexander Nikolayevich Spesivtsev was a Russian serial killer convicted for killing 4 people in Novokuznetsk in 1996. Spesivtsev, with the assistance of his mother Lyudmila, targeted street children  and young women across Novokuznetsk by luring them into their apartment, where they would be tortured and killed, and sometimes cannibalized . Despite only being convicted for 4 murders, Spesivtsev confessed to 19 murders that he was accused of by police, and based on evidence is believed to have committed over 80 killings as early as 1991. During Childhood, Spesivtsev was considered unsocial, did not have any friends and was bullied while school.  Spesivtsev and his mother held a strong but unusual relationship, as Lyudmila would regularly show her son photographs of corpses from books about criminal cases at a very young age, and the two shared a bed until Spesivtsev was 12. Growing up Spesivtsev...

The Brazilian Dexter

Pedro Rodrigues Filho Filho was born on a farm in Santa Rita do SapucaĆ­, south of Minas   Gerais, with his skull bruised as a result of his father kicking his mother's belly during a fight. He claimed he wanted to kill for the first time at age 13 - in a fight with an older cousin, he pushed the young man into a sugar cane press, almost killing him. At 14, he killed the deputy mayor of Santa Rita do SapucaĆ­ by shooting him in front of the city hall, for having fired his father, a school guard, then accused of stealing school lunch. He then killed a security guard, who was suspected of being the actual thief. Filho took refuge in Mogi   das Cruzes, Greater   Sao Paulo, where he began robbing drug dens and killing traffickers. He met with a traffic leader's widow, nicknamed Botinha, and they began living together. Filho took on the duties of the deceased and was  soon "forced" to eliminate some rivals, killing three ex-cronies. He lived there until Botinha...