: > 5) perhaps a better way to pick the "default" fields if highlightFields : > isn't specified would be using the return fields being used (the "fl" : > param) rather then the default search field in StandardRequestHandler and : > the "qf" fields in DisMaxHandler ? : : Tempting, but I think that using qf/df provides slightly more natural : default behaviour. The returned field list often has many : non-analyzable or non-text fields which we don't necessarily want to : summarize, while the query fields are guaranteed to at least : potentially contain the highlighted term (as we are searching them). : At least in my use cases, highlighting is a cue that a search has : found a term, hence it only makes sense to use in searched fields.
excelent point ... my only followup suggestion to my orriginal idea is that thanks to the schema, you could acctually check which of the returned fields are analyzed/text and highlight those -- but i throw that idea out only to see what you think of it ... at the moment you've confinved be that the "query fields" are the way to go. -Hoss