Project

General

Profile

Actions

Design/UX #23068

open

Search Results

Added by Sara Cannon 5 days ago. Updated 3 days ago.

Status:
New
Priority name:
Normal
Assignee:
Category name:
-
Target version:
-
Start date:
2025-07-21
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

Whenever you type into the search bar, you get tabs to filter the results "All results, Groups, Forums, Wiki, People, Blogs" Interestingly enough every search term I type in, the "blog" result is just Chris Stein's blog. I guess his is the only site categorized as such? I suggest we take a closer look at search results, these tabs, and how we can improve here.


Related issues

Related to CUNY Academic Commons - Bug #17850: Search not workingResolvedRaymond Hoh2023-03-19

Actions
Related to CUNY Academic Commons - Bug #7121: Commons Google Search Not workingResolvedBoone Gorges2016-12-16

Actions
Related to CUNY Academic Commons - Bug #5239: Inconsistent search results between google custom search and groups search boxResolvedBoone Gorges2016-02-19

Actions
Actions #1

Updated by Sara Cannon 5 days ago

  • Assignee set to Boone Gorges
Actions #2

Updated by Boone Gorges 3 days ago

Actions #3

Updated by Boone Gorges 3 days ago

  • Related to Bug #7121: Commons Google Search Not working added
Actions #4

Updated by Boone Gorges 3 days ago

  • Related to Bug #5239: Inconsistent search results between google custom search and groups search box added
Actions #5

Updated by Boone Gorges 3 days ago

Ray, it looks like you may have been the last to touch this. See #17850

That code references a Programmable Search Engine with the ID 004300494496351942816. I can't seem to find this in my own PSE settings. I've got one that is labeled CUNY Academic Commons, but it's got a different ID. I also looked under , but I didn't see anything there. Is it linked to your account?

Actions #6

Updated by Raymond Hoh 3 days ago

Is it linked to your account?

I don't believe I ever logged in; I just changed the markup to what Google was expecting for the Programmable Search Element from their documentation: https://developers.google.com/custom-search/docs/element

In https://redmine.gc.cuny.edu/issues/17850#note-1, I mention that I do not have access to configure the search results and asked if either yourself, Matt or Scott had configured Google's Custom Search Engine. At the end of the ticket, you mention that you had access to the Programmable Search Engine. Did you check cunycommons@gmail.com? I don't seem to have the credentials for this account, so it might be tied to that Google account.

Actions #7

Updated by Boone Gorges 3 days ago

Thanks, Ray. I see my comment in that ticket, and it's true that when I log into the PSE tool, I see one called 'CUNY Academic Commons'. But it has a different ID number, and it doesn't look like it's been configured with any of the Refinements (like Groups and Wiki) that I see on the search page. So I think it's different, maybe one I created as a test, and probably the one that I was referencing in the other ticket.

Looking through the repo history, the CSE was included in the very first commit in 2010, so it was likely Matt who set it up. Maybe when he's back he can take a look.

Actions #8

Updated by Raymond Hoh 3 days ago

I think once we gain access to the Google account that originally configured the Custom Search Engine, we can add additional admin accounts to that search engine so we can easily manage the Programmable Search Engine from our own Google accounts: https://developers.google.com/custom-search/docs/admin_accounts.

If we cannot figure out which Google account set up the original CSE, the alternative is setting up a brand-new Programmable Search Engine. I'm not sure if there is any historical data from the original CSE that might be beneficial though.

Actions

Also available in: Atom PDF