quarkusio / search.quarkus.io

Search backend for Quarkus websites
Apache License 2.0
0 stars 6 forks source link

Index and search over blog posts #292

Open marko-bekhta opened 5 days ago

marko-bekhta commented 5 days ago

We can add a search over blogs feature to the quarkus.io.

To match what we do for the documentation, the screen can look as:

image

We'd need to index the blog content + have a tag filter during the search.

We probably would want to read the adoc files to get some data from the front matter out: https://github.com/quarkusio/quarkusio.github.io/blob/45f7a24115a8a74172cf18102e2a1c4a0a21685b/_posts/2024-06-17-quarkus-3-11-2-released.adoc?plain=1#L1-L8 and then use the generated htmls as content.

Related to https://github.com/quarkusio/quarkusio.github.io/issues/806

yrodiere commented 5 days ago

I think @maxandersen and @ia3andy have talked about a "global" search on the website in the past. I understand searching on all pages is definitely out of scope, but maybe a search box at the very top (e.g. to the right of the Quarkus logo), and searching across guides and blog posts, could make sense?

yrodiere commented 5 days ago

We probably would want to read the adoc files to get some data from the front matter out: https://github.com/quarkusio/quarkusio.github.io/blob/45f7a24115a8a74172cf18102e2a1c4a0a21685b/_posts/2024-06-17-quarkus-3-11-2-released.adoc?plain=1#L1-L8

Remember we can adjust the generation of the blog posts. If adding <meta> tags in the page of each blog post is convenient, we can do that :shrug: