The OP points the way, I think, to what will happen in practice. Three trends will meet: 1, more apps live in the browser, 2, search programs that combine data in the browser get formalized/paramterized, 3, user friendly methods arise to make writing ad hoc search programs very easy (e.g. voice driven, context aware AI).