Skip to content

feats: fillering using Index Honcon config data ,issue(#589)#625

Closed
Arunanshu655 wants to merge 1 commit intotypelevel:mainfrom
Arunanshu655:Arunanshu2
Closed

feats: fillering using Index Honcon config data ,issue(#589)#625
Arunanshu655 wants to merge 1 commit intotypelevel:mainfrom
Arunanshu655:Arunanshu2

Conversation

@Arunanshu655
Copy link
Copy Markdown

This PR adds metadata-based filtering support to the site search by generating a metadata.json file at build time containing author, tags for each blog post and event.

Here I am able to expose this data to protosearch then enabled filtering by author / tag in search.

according to issue #589

I have done:

  • able to generate search/metadata.json at build time
image
  • link it to serve time code
image - Added a completely isolated metadata filter that loads metadata.json and filters by tag and author client-side.

also fixed

Wrapped the GitHub fetch for security.md timeout issue in handleErrorWith

demo:
image
image

@armanbilge
Copy link
Copy Markdown
Member

Thanks for the PR.

  1. The diff is much too large. Please review diffs to make sure they are reasonable before opening a PR.
  2. As explained in the issue that you linked, we would like to implement this functionality using Protosearch, not raw JavaScript.

Thus, I will close this PR.

@armanbilge armanbilge closed this Mar 30, 2026
@Arunanshu655
Copy link
Copy Markdown
Author

Arunanshu655 commented Mar 31, 2026

Thanks for your feedback, I will try to change my approach

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants