Interface SourceFilter
- All Known Implementing Classes:
FetchSourceFilter
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
Field.name()
this will automatically be mapped.- Author:
- Jon Tsiros, Peter-Josef Meisch
-
Method Summary
-
Method Details
-
getIncludes
- Returns:
- the name of the fields to include in a response.
-
getExcludes
- Returns:
- the names of the fields to exclude from a response.
-