Skip to content

Reduce amount of data returned by ES #32

Description

@rimutaka

Dev and Org profiles can get really big. Returning the entire _source as JSON makes no sense for lists when only a few properties are being used.

Exclude some of the fields with

GET /org/_search?_source_excludes=report.file_types,report.reports_included,report.projects_included,report.commit_time_histo, report.contributor_git_ids

Refs and packages may be needed if there was a search for them.

Activity

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

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