Rewrite a bunch of the search stuff following new conventions: rawes instead of pyes, new fields, ES parent/child features, and other changes.