AcademySoftwareFoundation / opencue.io

Source for OpenCue website
https://www.opencue.io
Creative Commons Attribution 4.0 International
17 stars 26 forks source link

Configure site search #37

Open sharifsalah opened 5 years ago

sharifsalah commented 5 years ago

Enable and configure site search based on the example configuration for Hugo / Docsy at:

https://github.com/google/docsy-example/blob/master/config.toml

sharifsalah commented 5 years ago

Partially fixed in https://github.com/AcademySoftwareFoundation/opencue.io/pull/68

Next step is to investigate if we can configure the results to display within the chrome of the site.

bcipriano commented 5 years ago

When I do a search on the currently deployed site it seems to show a standard Google results page instead of only results from opencue.io.

Is this what you meant in your previous comment?

sharifsalah commented 5 years ago

That's interesting, I'm not seeing any results outside of opencue.io. Could you give an example of a search term that includes results outside of the site?

Here's a screenshot of the results I'm seeing for the term 'pycuerun':

www.opencue.io search results screen shot 2019-07-08
gregdenton commented 5 years ago

I think the problem may just have been the google ad results that show if you use a more generic term. For instance, search "job". The first 4 results are going to be external ads followed by the opencue.io search results.

sharifsalah commented 5 years ago

Thank you, again that's interesting because IIUC, we're basically using the same system that Kubernetes is running for search on kubernetes.io but I'm not seeing the ads for the same term:

https://kubernetes.io/docs/search/?q=job

I'll have to investigate what configuration options are possible for GCS and if / how we can remove the ads...

sharifsalah commented 5 years ago

Probably relevant: https://support.google.com/customsearch/answer/4542102?hl=en

bcipriano commented 5 years ago

Ahh ok, that's it -- I also searched a generic term, I think it was "render".