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

searhcHits as field in manifestations :) #480

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

pjohans
Copy link
Member

@pjohans pjohans commented Jan 22, 2025

No description provided.

"""
Complex search only !!! - manifestations with search hits
"""
searchHits: [Manifestation]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Tror lige så godt vi kan pakke den ind i en SearchResultEntry type med det samme

@@ -366,6 +366,14 @@ export async function resolveWork(args, context) {
profile: context.profile,
});

const resolvedSearchHits = args?.searchHits
Copy link
Collaborator

Choose a reason for hiding this comment

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

brug manifestations->all i stedet for at hente data ud igen

}

type HighLightType {
hit: String
Copy link
Collaborator

Choose a reason for hiding this comment

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

HighLightType skal nok justeres, hvis vi når dertil

Vi vil gerne kunne vise hele feltet der er hittet og så markere den del af strengen der er hittet.

Men fint til en start


type SearchHitsType {
match: Manifestation
Copy link
Collaborator

Choose a reason for hiding this comment

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

synes match er et godt navn, bravo

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.

3 participants