Is it possible to use the hl.q field if you’re using the extended dismax query parser and have defined the “qf” field, but not a “df” field?
Here’s a sample query: q=drive&fq=cat:electronics&hl=true&hl.fl=cat,name&hl.q=drive cat:electronics. In this case I want to highlight the facet “electronics” and the word “drive” within the cat and name fields. Assuming I’m understanding the wiki correctly, snippets should be generated for the hl.fl fields. What I’m getting is an error message saying “no field name specified in query and no default specified via 'df' param". If I remove the word “drive” from the hl.q field, it works correctly, which makes sense since given the error. I just don’t understand why it’s not using the “qf” or “fl.hl” fields to query against. Thanks -- View this message in context: http://lucene.472066.n3.nabble.com/Highlighting-using-hl-q-without-a-df-field-tp4071648.html Sent from the Solr - User mailing list archive at Nabble.com.