Sharepoint Results Search Results

Currently, I have a search configured on our Sharepoint 2010 server. The search works fine on the first try, however after one search (aka the results page), the default area is set to "this site: search".

I would like to change the area settings on this page, but I cannot find where to do this?

I would like the same areas to appear on both my results page and the original search page. Thus, the problem is that the search is configured as a separate site, and when the results page is displayed, the only object in this area is a site in which there is no content. Thus, an additional bonus will be to remove this version of the site from the page.

In any case, the search should remain a separate site. Thanks in advance.

UPDATE To allow additional areas on the results page, you must go to the site settings (as administrator)> Search Settings> Site Collection Search Center and Enable Custom Areas

I still need to know how to default on the entire site or to hide this site search.

+4
source share
3 answers

Following are the steps I should have taken:

  • I had to set a specific search page and edit the web part settings to make sure that they DO NOT use the “drop-down site mode” or “Use the default values ​​at the site level”.
  • Set the drop-down list of this web part to "Show, do not include contextual scope and the default URL parameter."
  • In the Miscellaneous section, set the URL of the target search results page to the results page in my search center. IE (/Search/Pages/results.aspx) in my case.
  • Add a search box to the results page with the same drop-down menu mode as in step 2 above. I suggest going to your empty results page, and then the site’s actions> change. Add the web part as usual.
  • Make sure you take the step above by going to (/_layouts/enhancedSearch.aspx) and setting the URL in your search center (/ Search / Pages) in my case.
0
source

I also had a similar problem to decide go to site settings -> search area and then click displaygroups-> drop down serach for

Click “Drop Serash", a form will open in which you can define the scan areas, and in the bay you can set the pressure search area. Hope this helps

+1
source

I had the same problem when I used the main search site template, but not when I used the Enterprise Search site template, which allowed me to edit web parts on the search page and the results page to display a drop-down list of areas.

To remove "this site" from the list of areas, edit the web part of the search box and select "Show, do not include context areas."

In addition, you will need to enable the Publishing Infrastructure feature in the site collection before you can create a search site using the Enterprise Search site template.

I also changed the homepage on the search site to minimum.master to improve the layout.

0
source

Source: https://habr.com/ru/post/1446999/


All Articles