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

Add support for the "Delete by Query" API #11

Merged
merged 1 commit into from May 27, 2020

Conversation

ido50
Copy link
Contributor

@ido50 ido50 commented May 27, 2020

This commit adds support for ElasticSearch's Delete by Query API. Usage
is very similar to that of Search and Count requests:

esquery.Delete().
    Index("index_1, "index_2").
    Query(esquery.Bool()...).
    Run(
        es,
        esapi.WithAnalyzeWildcard(true),
    )

This commit adds support for ElasticSearch's Delete by Query API. Usage
is very similar to that of Search and Count requests:

    esquery.Delete().
        Index("index_1, "index_2").
        Query(esquery.Bool()...).
        Run(
            es,
            esapi.WithAnalyzeWildcard(true),
        )
@ido50
Copy link
Contributor Author

ido50 commented May 27, 2020

@oranmoshai

@oranmoshai oranmoshai merged commit 259a3cd into aquasecurity:master May 27, 2020
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.

None yet

2 participants