> It's probably best to focus on the ideal interface first (query > parameters as input format, and desired XML output format).
We might also want to keep termvectors in mind when thinking about this stuff... seems like they are related (per-field optional/extra data). -Yonik