Skip to content

Event search with list of artists as search term #3

@ReIaxo

Description

@ReIaxo

Hi, first thank you for this amazing library. It is very convenient and nearly fulfills all my needs.
But I have on question: Is it possible to search for an event while adding multiple artist search terms?
I tried this, where i have to chain the artist search terms together with or :

            musicBrainzService.findEvent(Limit(50), Offset(0)) {
                event(EventName.UNKNOWN) and
                        beginDate {
                            Year(LocalDate.now().year) inclusive
                                    Year(LocalDate.now().year + 1)
                        } and
                        type("Festival") and
                        (artist(ArtistName("Nightwish")) or artist(ArtistName("Blind Guartian"))
            }

But I have a generic list of artists which all have to be concatinated with or. Is there a search term where i can pass a list of artist() or artist names and the operator (or/and)?

As an alternative can one requst results with a raw serch query? Do you may have an example for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions