Parameters on Baidu search result page other input search term methods (rsv_n)

Source: Internet
Author: User

As mentioned in the previous article, rsv_sug2 = 0 indicates that the search behavior of the prompt word is not changed after the search box prompt word is selected on the keyboard. If you enter the prompt word in the search box rsv_sug5 = 0 and then modify the query string (querystring), The baidu search result page (serp) will show the parameter rsv_n = 1.

URL parameters of Baidu search results other search term input methods (rsv_n)

NameRsv_n
Meaning other search term input methods
Parameter Value
1. the prompt word is filled in the search box and modified.
2. paste the search term

The most common search box to query strings other input methods parameter value isRsv_n = 2Paste the search term from the clipboard. This requires only one test to prove that rsv_n = 2 will appear when a text is copied to the baidu search box.
The relationship between rsv_n = 1 and rsv_n = 2 is not big, but it is related to the search box prompting the word search method rsv_sug2. When the user selects the drop-down box prompt word to the search box on the keyboard, the user is not satisfied, modify the string and then perform the search. Baidu defines this behavior
Rsv_n = 1.

[PHP] $ rsv_n = $ _ post ['respiratory _ n']; If (preg_match ("/(rsv_n = 1)/I", $ Baidu )) echo "the prompt word is filled in the search box and modified"; elseif (preg_match ("/(rsv_n = 2)/I", $ Baidu) echo "paste search term "; elseif (preg_match ("/(rsv_n =) ([^ &] +)/I", $ Baidu, $ rsv_n) echo "th ". $ rsv_n [2]. "Other search term input methods"; [/PHP]

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.