Interface SourceFilter

All Known Implementing Classes:

public interface SourceFilter
SourceFilter for providing includes and excludes. Using these helps in reducing the amount of data that is returned from Elasticsearch especially when the stored docuements are large and only some fields from these documents are needed. If the SourceFilter includes the name of a property that has a different name mapped in Elasticsearch (see this will automatically be mapped.
Jon Tsiros, Peter-Josef Meisch
  • Method Details

    • getIncludes

      @Nullable String[] getIncludes()
      the name of the fields to include in a response.
    • getExcludes

      @Nullable String[] getExcludes()
      the names of the fields to exclude from a response.