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

Exclude fields in a document summary #31794

Open
bratseth opened this issue Jul 1, 2024 · 2 comments
Open

Exclude fields in a document summary #31794

bratseth opened this issue Jul 1, 2024 · 2 comments
Milestone

Comments

@bratseth
Copy link
Member

bratseth commented Jul 1, 2024

If you have lots of summary-enabled fields and you want a summary containing most, but not all of them (e.g not vectors), you need to repeat lots of field names. It would be convenient if there was a way to define a summary by inheriting another (default) and then exclude some of them.

@kkraune kkraune added this to the later milestone Jul 3, 2024
@baldersheim
Copy link
Contributor

I am not sure that we should tempt more usage of default summary class. I think it is better to guide usage towards making the summary classes explicit. Once people want something non-default, they have to do that anyway.
And then it is better to build on your own by adding fields through inheritance, rather than exclude.

@nehajatav
Copy link

Templating language like ftl to generate schema files have helped in this area

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

No branches or pull requests

5 participants