Setup structure for searching and trigger processing.