: For a few reasons (mainly field based security restrictions) I need to know
: which fields in my result documents matched the query
: e.g. I would like to have something like
: <doc>
: <arr name="matching fields">
: <str>field1</...

there's really nothing like that now ... you can use the debugQuery=true 
option to get score explanations for each doc, but to be honest i'm not 
sure what your goal really is ... if you're goal is "security" and you 
want to prevent people from searching on certian fields, why not stop them 
from searching on those fields to begin with (instead of checking the 
fields after the fact)

: I would also like to have highlighting/snippets over all fields without
: appending all of them with hl.fl= . Something like hl.fl=* (would this be a
: big performance issue?)

it's not neccessarily a performance issue .. it's just not soemthing that 
was ever really considered a likely usecase.  There has been some 
discussion about how to make stuff like this work, but i don't believe 
anyone has put any effort into attempting it...

http://wiki.apache.org/solr/FieldAliasesAndGlobsInParams



-Hoss

Reply via email to