currently, we don't show the user how many matches there are for their search, or how many pages there are.
this was done to improve performance - it's time-consuming to do xacml checks on a potentially enormous data set in order to determine the number of matches.
however, we need to display the total number of results from search. it's a basic required feature of a search function.
i suggest that we put enough information into lucene so that we don't need to consult mulgara on a per-article basis to determine whether or not each article is viewable.
we could also use the same tactic we've used with browse and display an incorrect total that includes unpublished articles, and live with the slight inaccuracy.
let's include this in the post-0.9 discussion of search improvement.