Determine seed query using indexed fields