Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Search: index document by custom metadata #3174

Copy link
Copy link
@garrettheel

Description

@garrettheel
Issue body actions

Contribution guidelines

I want to suggest an idea and checked that ...

  • ... to my best knowledge, my idea wouldn't break something for other users
  • ... the documentation does not mention anything about my idea
  • ... there are no open or closed issues that are related to my idea

Description

It would be really helpful if keywords could be included within the metadata of a page and used to help provide more accurate search results. Oftentimes a generic search term (e.g "service" for me) will return a ton of irrelevant results, seeming to overweight the use of one of the words in a heading.

I see that the boost feature does exist, however I'm looking for something more granular. It's not so much that I have one really important page that should always come up, but in certain contexts I want to ensure the right page does.

Tags are the other feature that are possibly related, however I don't really want to group content together or make this information prominent on the page. Also I don't want to give the impression that the rest of the content has been accurately tagged if folks try to click into them.

Example:

---
search:
  keywords: foo,bar
---

Use Cases

This would allow finer-grained control of search results. Coupled with search analytics (related: #3169), it would allow me to see what folks are searching and where they might have had trouble finding the right results.

Screenshots / Mockups

No response

jrobinAV, christophhillisch and rohit-gohri

Metadata

Metadata

Assignees

No one assigned

    Labels

    change requestIssue requests a new feature or improvementIssue requests a new feature or improvement

    Projects

    Status

    No status
    Show more project fields

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.