Hello, this is to follow up on the discussion in the Dig meeting today about 
search scoping.

It looks like Google Custom Search can include scoping, they call it 
Refinements.
https://support.google.com/customsearch/answer/2631064?hl=en
https://developers.google.com/custom-search/docs/refinements

Refinements
Refinements are a way for you to categorize sites by topics. For example, if 
you have a bicycling search engine, you can have categories of, say, bike 
maintenance, bike reviews, bike stores, biking skills, and so on and so forth. 
You can create refinement labels that you associate with the sites you listed 
in the Sites tab. The refinement links appear at the top of your search results 
page, and users can click them to narrow down their searches. A search page can 
have as many as 16 refinement links.
To create a refinement label, click Add Refinement, and define the settings. To 
tag websites with labels, go to the Sites tab, select check boxes next to the 
sites, and select the label from the Label actions drop-down list. You can tag 
sites with more than one label.
Before you create your labels, you might want to check out existing 
labels<https://developers.google.com/custom-search/docs/ref_prebuiltlabels> and 
pool your resources with Google and other users.

I setup a new google custom search with labels for the evergreen sites to try 
it out and it seems to work pretty well.  I would like to figure out how to set 
a refinement as the default, but even if that doesn't work, it is still useful.
https://www.google.com/cse/publicurl?cx=007549852895470088378:zj5roh0k57s


[cid:[email protected]]

I would be happy to help set this up if any help is needed/wanted.  It looks 
like Sub admin accounts can be added to the Google Custom Search - 
https://developers.google.com/custom-search/docs/admin_accounts

Thanks
Josh

From: [email protected] 
[mailto:[email protected]] On Behalf Of 
Josh Stompro
Sent: Monday, September 15, 2014 11:56 AM
To: [email protected]
Subject: [OPEN-ILS-DOCUMENTATION] Documentation Search, limit to documentation

Hello, I've found it confusing that the google site search that is in the 
header of the HTML version of the documentation searched the whole 
http://docs.evergreen-ils.org site, and not just the documentation that I'm 
currently viewing.

Would it be possible if the searching for each version of the documentation was 
limited to only that version?  If I'm using the search while I'm in version 
2.6, then I'm expecting to just see results for that version.  Right now I see 
results for all versions available, in all formats.  So I'll get hits for the 
PDF version as well as the same info in the html version.  To me in makes the 
results redundant and less useful.

I can fix this manually when I need to by using the 
"site:http://docs.evergreen-ils.org/2.6 <searchterm> -filetype:pdf" format, but 
it would be nice if this was the default.  I cannot think of any reason to keep 
the PDF results in there since it is all redundant.

Maybe it could have radiobutton options under the search box to change the 
scope.  "X 2.6 docs only  O Entire Site  O Site + Wiki + Listarchives"

Thanks
Josh
_______________________________________________
OPEN-ILS-DOCUMENTATION mailing list
[email protected]
http://list.georgialibraries.org/mailman/listinfo/open-ils-documentation

Reply via email to