: possible Solr's development. Note that there is already at least one : parameter where presense/absence is significant (debugQuery).
hmmm, yeah ... that's becuase it was designed with a checkbox in mind -- but it breaks if you try to use it with other HTML form elements. Maybe we should change it too. : Significant whitespace scares me <g>. If presence/absense of a param : being significant is problematic, it is better to simply disallow this : Solr-wide. Mandate that value-less parameters are equivalent to not : specifying them at all. Things like the highlight parameter can : accept 'true' as a hint to use the default field for these types of : uses, or it can be broken down into two parameters : (highlight=true/false, highlightFields=...). Good point about whitespace, and more specificly regarding highlighting you may want to make the change to two params independent of other issues ... if i understand you correctly, you are currently using one param to indicate both the activation of highlighting and the field to use if the default field is not desired (empty string meaning use the default field). This is less flexible hten the two field appraoch, because it prevents the client from ever being able to say "wether or not highlighting should be used is up to the server's config, but if highlighting is going to be used, i'd like this field to be highlighted" -Hoss