Class SearchTravRetLoadFieldSelectorTask

  • All Implemented Interfaces:

    public class SearchTravRetLoadFieldSelectorTask
    extends SearchTravTask
    Search and Traverse and Retrieve docs task using a FieldVisitor loading only the requested fields.

    Note: This task reuses the reader if it is already open. Otherwise a reader is opened at start and closed at the end.

    Takes optional param: comma separated list of Fields to load.

    Other side effects: counts additional 1 (record) for each traversed hit, and 1 more for each retrieved (non null) document.

    • Field Detail

      • fieldsToLoad

        protected Set<String> fieldsToLoad
    • Constructor Detail

      • SearchTravRetLoadFieldSelectorTask

        public SearchTravRetLoadFieldSelectorTask​(PerfRunData runData)