Ah, OK. I did a bit more digging on this. Looks like I'm using
raw_query, which *is* in Sunburnt itself (I think). Must have hacked
something else, but at this point, I don't really remember.
This is roughly what my queries end up looking like:
# cd is short for "cleaned data" which is what
Django forms create once
# they're validated. Basically though this is
building and sending a dict
# called main_params.
main_params = search_utils.build_main_query(cd)
main_params['rows'] = '25'
main_params['start'] = '0'
main_params['hl.tag.pre'] =
'<em><strong>'
main_params['
hl.tag.post'] =
'</strong></em>'
results =
conn.raw_query(**main_params).execute()
Which then gives me a wicked variable called results that I can work
with in various ways. What gets more complicated is if you want to
do anything using facets, which means more queries to Solr for the
facet counts, and then working through those values. It gets messy,
and I'd be lying if I didn't say I'm considering switching over to a
more low-level library for this kind of thing. For the most part, I
don't use much of Sunburnt's magic...
Mike