Wen: doug
Source: Python Technology [public ID: pythonall]

Search engine is basically we each is 7 days to use, but most people use the search engine’s time mostly input keywords after enter directly, so if you encounter after tried various keywords still couldn’t find what you want the answer, the search engine is intelligent, is also not smart, such as we enter keyword apple, How does it know if you’re looking for a fruit apple or an iPhone?

Today, Paisson sauce will unlock more advanced search techniques and give you one-click access to all the resources you want.

Precise matching

When you type “Beijing Forbidden City” into the search engine, the results are as follows. Although you can hit most of them, it is clear that the top map is not the answer we were looking for.

So how do you do that? The answer is to put double quotation marks around the keywords.

Multiple keywords

When you want to search for multiple keywords you can use the form of “keyword A + keyword B” to search, such as “Ding Zhen + hometown”, then the search results are both ding Zhen and hometown content.

If we want to answer is just hit home Ding Zhen or any keyword, you can use “Ding Zhen | home” to search. In terms of the number of results, the latter is an order of magnitude higher.

Fuzzy search

Sometimes our memory of what we want to search for is not very accurate, and we may only remember a few words, in this case, we can use the asterisk to assist the search.

For example, if you want to search for “I don’t know and I’m afraid to ask”, but you only remember that you don’t know and you’re afraid to ask, you can search like this:

Exclude search

Take the example at the beginning of this article as an example. If we want to search for fruit and apple and do not want any information about iPhone to appear in the results, we can use “keyword A – keyword B” to exclude.

We searched “Apple-iphone,” and all the results were fruit apples.

Searching for specific files

For example, if you want to search for PDF files and the results are always messy, you can filter the content in the specified format by using the “fileType: file format” keyword.

For example, if we type in the keyword “ordinary world fileType: PDF”

Specific site search

Some government websites don’t offer entry to search for, say, a notice from the Ministry of Foreign Affairs, PRC.

You can search for “site: fmPRc.gov.cn”

conclusion

Today we learned some advanced search engine skills, in fact, in addition to the above skills, we also try to make the search content simple, written. For example, if you want to know what books office workers should read to learn fitness, you can just search “office fitness books”.

I hope you can gain from today’s search skills and not worry about the future search information.

Welcome to follow the wechat official account: Python technology, here we have personally written 100 days of actual practice, there are all kinds of interesting programming practice, there are all kinds of learning materials, and a large group of lovely friends to discuss with each other.