opencue.io icon indicating copy to clipboard operation
opencue.io copied to clipboard

Configure site search

Open sharifsalah opened this issue 6 years ago • 7 comments

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 avatar May 22 '19 15:05 sharifsalah

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.

sharifsalah avatar Jul 02 '19 09:07 sharifsalah

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?

bcipriano avatar Jul 03 '19 23:07 bcipriano

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

sharifsalah avatar Jul 08 '19 10:07 sharifsalah

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.

gregdenton avatar Jul 08 '19 17:07 gregdenton

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 avatar Jul 08 '19 17:07 sharifsalah

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

sharifsalah avatar Jul 08 '19 17:07 sharifsalah

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

bcipriano avatar Jul 08 '19 20:07 bcipriano