Project

General

Profile

Actions

Design/UX #23068

open

Search Results

Added by Sara Cannon 4 months ago. Updated about 1 month 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.


Files


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 4 months ago

  • Assignee set to Boone Gorges
Actions #2

Updated by Boone Gorges 4 months ago

Actions #3

Updated by Boone Gorges 4 months ago

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

Updated by Boone Gorges 4 months ago

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

Updated by Boone Gorges 4 months 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 4 months 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 4 months 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 4 months 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 #9

Updated by Matt Gold 4 months ago

Hi all -- this is what I'm seeing when I go to Google Analytics under my own account. I'm not sure where/how to check whether I originally set this up

Actions #11

Updated by Matt Gold 4 months ago

Thanks, Boone. I figured it out -- it was not under my account, but it was under , an older address we used to use. Boone, do you want me to send you credentials for that? I can do that securely through 1Password

Actions #12

Updated by Boone Gorges 4 months ago

Yes, that'll be fine. Thanks!

Actions #13

Updated by Boone Gorges 3 months ago

Hm, I've made some mods to the PSE that Matt shared with me, but it's not working. And now that I look at it, the IDs appear to be different. The one from Matt is 009271535818795552280:otyfcbujc7k, while the one in use on the Commons is 004300494496351942816:vifba_gegbu Anyone have ideas about how I figure out where this lives? Or should I just start from scratch?

Actions #14

Updated by Colin McDonald about 1 month ago

Hello, I wanted to bump this. We were talking on the Community call earlier about how the Wiki tab on the Search Results page doesn't seem to work at all, and may have been disabled when we archived the Commons wiki. Do we need to start from scratch as Boone mentioned to alter (and maybe just simplify) the options on /search-results/ ?

Actions

Also available in: Atom PDF