Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid indexing duplicate documents for Quarkiverse guides that are not translated #157

Merged
merged 2 commits into from
Jan 22, 2024

Conversation

yrodiere
Copy link
Member

@yrodiere yrodiere commented Jan 18, 2024

We can use a single document for those.

Currently this doesn't bring much: before this patch we indexed 6671 documents, after it we index 6335 documents.

But if we're going to index many more Quarkiverse guides (#143 ), this may help.

Also, for now we still duplicate Quarkiverse guides per Quarkus version, but we could probably get rid of that too if we were to solve #143 by:

  • Taking metadata for those guides from a version-independent source (e.g.
    the Quarkiverse docs GitHub repo).
  • AND allowing search results on quarkus.io to return Quarkiverse guides
    independently from whether they are referenced in
    quarkus.yaml/quarkiverse.yaml.

@yrodiere yrodiere requested a review from marko-bekhta January 18, 2024 08:45
@yrodiere yrodiere changed the title Avoid dups Avoid indexing duplicate documents for Quarkiverse guides that are not translated Jan 18, 2024
Copy link
Collaborator

@marko-bekhta marko-bekhta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense 😃

…t translated

We can use a single document for those.

For now we still duplicate Quarkiverse guides per Quarkus version, but
we could probably get rid of that too if we were to:

* Take metadata for those guides from a version-independent source (e.g.
  the Quarkiverse docs GitHub repo).
* AND allow search results on quarkus.io to return Quarkiverse guides
  independently from whether they are referenced in
  quarkus.yaml/quarkiverse.yaml.
@yrodiere yrodiere enabled auto-merge January 22, 2024 13:02
@yrodiere yrodiere merged commit f2ee99d into quarkusio:main Jan 22, 2024
1 check passed
@yrodiere yrodiere deleted the avoid-dups branch January 29, 2024 11:25
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