I have just started using the excellent Sunburst library to work with a Drupal Solr catalog, which has the default query parser set to dismax.
I can search on a particular field using the SolrInterface.search() method if I include a 'defType' param, like this:
In [46]: len(list(si.search(q='title:Fido', defType='lucene')))
Or I can use SolrInterface.query() to do a dismax search using the schema.xml settings, like this:
In [48]: len(list(si.query('Fido').execute()))
But when I try to specify a field to search using the query method, it doesn't work:
In [47]: len(list(si.query(title='Fido').execute()))
Is there a way to tell SolrInterface.query() that I want to use the Lucene query parser?
Any help appreciated.
Wade Leftwich
Ithaca, NY