Google custom search with ability to search specific section - search

I want to use google custom search for my wordpress setup. I need the custom search to be able to search the whole site or if a checkbox is ticked, only search within a certain category of the site.
Can anyone point me in the right direction with this?

You can have 2 custom search engines- one searching your whole site and another one searching the specific categories you mentioned. Based on whether the checkbox is checked or not, you can display the appropriate search box in your page. A demo of how to select specific sites or whole domains is shown in http://preciselyconcise.com/apis_and_installations/google_custom_search.php

Related

Sharepoint 2013 search - How can we hide promoted results/best bets for a particular search results page

How can we hide promoted results for a particular search results page. This page shows results from a particular list and I do not want to show best bets on this page which are from other location.
If you check out this reference:
https://support.office.com/en-us/article/Change-settings-for-the-Search-Results-Web-Part-40ff85b3-bc5e-4230-b1dd-f088188e487e
you will see that Promoted Results is an option you can turn off in the Results Settings of the Search Results WebPart.

Multiple Search URLS and Google Analytics

I'm wondering if anyone has any insight for capturing statistics for an embedded search box and button. We have several website search urls we have programmed into a drop-down menu where a user selects which index they want to search.
Now, I'm needing to find out the number of searches that took place from our website.
I thought an easy way to determine the number of searches would be to capture the number of clicks on the button. But I haven't been able to figure out if there is another way to capture that for the different search urls.
Another layer of complicity is, I'm using Drupal's customized search module for creating the search drop-down, box, and button.
Does anyone have any insight they could provide or resources I could check out?

How to restrict list in search results but not list item in SharePoint 2013

I am having multiple lists and list items. I have configured share point search in my Intranet Site. This is all working fine but I don't want to show list Url with allitem.aspx like screen shot.
I want only list item to come in my search not list name with allitems.aspx
Search the web for info on how to create a custom search results page.
There you can do and show whatever you want.
Start here:
https://www.youtube.com/watch?v=ol8ZpzV1qVI

SharePoint: Customize Search Results Refinement Panel

I know there are threads out there about making changes to the refinement panel and they have so far been very helpful but now I have a question that I need a bit more assistance with.
In the search results, would there be a way to add a filter to the refinement planel that would filter based on a tag I have used in a column in the libray?
For example, let's say I have three committees that meet every week and I have minutes for all of them. In my search results, I may want to look up a keyword discussed, but only interested in a certain committee. This would have already been identified in a column in the library.
How do i do this? I believe it has something to do with mapped properties but I need some steps from someone willing to help! TY :)
First you need to add a new mapped property in your search service application and map it to the crawled property that contains the field you want to filter by.
You can then refer to this mapped property when you edit you refinement panel on your search results page.
To do this, edit your search results page and then edit the refinement panel web part. Under Refinement section you need to edit the Filter Category Definition XML and then save your page.

Creating a sharepoint 2007 search for a list (results only from that list)?

I have been researching this for some time, and have not been able to find a solution. I would just like to have a search bar that when an ID is entered, the search will return all the list items that have that ID.
I'm sure I am leaving out details (as I am a sharepoint novice), but any help would be greatly appreciated.
What you need is not search, but filter.
In the view of you library, follow these steps :
Put the page in edit mode
Add a web part "Text Filter Web Part"
Open its tool pane
Name the filter, "IDFilter" for example, and validate
Still in edit mode, select "Modify shared Web Part" --> "Connections" --> "Send filter values to name of your library"
Choose the field that holds your ID and click "Finish"
That's it. You can now type the ID in the field, and it will dynamically apply a filter on the ID field.
That said, you should post you future questions on http://SharePoint.stackexchange.com. this is a SharePoint dedicated stackexchange site.

Resources