: It is quite a common problem.  I wonder if Solr couldn't provide a mode that
: warned loudly of unknown parameters (seems tricky, though a version of
: SolrParams that tracked parameter access and could be asked for keys that were
: never access would do the trick).

Could be done in debug mode ... handleRequest could say if debugQuery=true 
then wrap the params with a RecordLookupSolrParamWarapper.  when 
generating the debug output fetch the list of all params used from the 
wrapper, diff that with the params specified, and include the diff in the 
debug output.

(if your query isn't working the way you expect, first thing you should do 
is debugQuery=true anyway)



-Hoss

Reply via email to